~ubuntu-branches/ubuntu/hardy/gnue-common/hardy

« back to all changes in this revision

Viewing changes to packaging/win32/setup.cmd

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2005-03-09 11:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20050309110631-8gvvn39q7tjz1kj6
Tags: upstream-0.5.14
ImportĀ upstreamĀ versionĀ 0.5.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set PythonPath=c:\python23
 
2
set GnuePath=c:\gnue
 
3
 
 
4
rem goto compile
 
5
 
 
6
del /s /q %GnuePath%\bin
 
7
del /s /q %GnuePath%\etc
 
8
del /s /q %GnuePath%\share
 
9
 
 
10
xcopy %PythonPath%\lib\site-packages\gnue\*.py %GnuePath%\bin\gnue\ /Y /E
 
11
 
 
12
xcopy %PythonPath%\etc\sample.*.conf %GnuePath%\etc\ /Y
 
13
 
 
14
xcopy %PythonPath%\share\doc %GnuePath%\share\doc\ /Y /E
 
15
 
 
16
xcopy %PythonPath%\share\gnue %GnuePath%\share\gnue\ /Y /E
 
17
 
 
18
xcopy %PythonPath%\share\locale %GnuePath%\share\locale\ /Y /E
 
19
 
 
20
for %%x in (%GnuePath%\etc\sample.*.conf) do python %PythonPath%\tools\scripts\lfcr.py %%x
 
21
 
 
22
copy %GnuePath%\etc\sample.gnue.conf %GnuePath%\etc\gnue.conf
 
23
copy %GnuePath%\etc\sample.connections.conf %GnuePath%\etc\connections.conf
 
24
copy %GnuePath%\etc\sample.report-filters.conf %GnuePath%\etc\report-filters.conf
 
25
 
 
26
copy %PythonPath%\scripts\gnue-setupdb.bat %GnuePath%\bin\gnue-setupdb.bat
 
27
 
 
28
:compile
 
29
 
 
30
python setup.py py2exe -c %1
 
31
 
 
32
xcopy dist %GnuePath%\bin\ /Y