Show More
@@ -5,8 +5,6 b' import sys' | |||||
5 |
|
5 | |||
6 | # now, import setuptools and call the actual setup |
|
6 | # now, import setuptools and call the actual setup | |
7 | import setuptools |
|
7 | import setuptools | |
8 | # print sys.argv |
|
|||
9 | #sys.argv=['','bdist_egg'] |
|
|||
10 | execfile('setup.py') |
|
8 | execfile('setup.py') | |
11 |
|
9 | |||
12 | # clean up the junk left around by setuptools |
|
10 | # clean up the junk left around by setuptools |
@@ -30,8 +30,8 b' c("python2.6 ./setup.py bdist_rpm --binary-only --release=py26 "' | |||||
30 | "--python=/usr/bin/python2.6") |
|
30 | "--python=/usr/bin/python2.6") | |
31 |
|
31 | |||
32 | # Build eggs |
|
32 | # Build eggs | |
33 |
c('python2.5 ./ |
|
33 | c('python2.5 ./setupegg.py bdist_egg') | |
34 |
c('python2.6 ./ |
|
34 | c('python2.6 ./setupegg.py bdist_egg') | |
35 |
|
35 | |||
36 | # Call the windows build separately, so that the extra Windows scripts don't |
|
36 | # Call the windows build separately, so that the extra Windows scripts don't | |
37 | # get pulled into Unix builds (setup.py has code which checks for |
|
37 | # get pulled into Unix builds (setup.py has code which checks for |
@@ -14,8 +14,8 b' cd = os.chdir' | |||||
14 | def c(cmd): |
|
14 | def c(cmd): | |
15 | """Run system command, raise SystemExit if it returns an error.""" |
|
15 | """Run system command, raise SystemExit if it returns an error.""" | |
16 | print "$",cmd |
|
16 | print "$",cmd | |
17 |
|
|
17 | stat = os.system(cmd) | |
18 | stat = 0 # Uncomment this and comment previous to run in debug mode |
|
18 | #stat = 0 # Uncomment this and comment previous to run in debug mode | |
19 | if stat: |
|
19 | if stat: | |
20 | raise SystemExit("Command %s failed with code: %s" % (cmd, stat)) |
|
20 | raise SystemExit("Command %s failed with code: %s" % (cmd, stat)) | |
21 |
|
21 |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now