##// END OF EJS Templates
Minor fixes to build scripts....
Fernando Perez -
Show More
@@ -2,6 +2,7 b''
2 """Wrapper to run setup.py using setuptools."""
2 """Wrapper to run setup.py using setuptools."""
3
3
4 import os
4 import os
5 import shutil
5 import sys
6 import sys
6
7
7 # now, import setuptools and call the actual setup
8 # now, import setuptools and call the actual setup
@@ -10,4 +11,10 b" execfile('setup.py')"
10
11
11 # clean up the junk left around by setuptools
12 # clean up the junk left around by setuptools
12 if "develop" not in sys.argv:
13 if "develop" not in sys.argv:
13 os.unlink('ipython.egg-info')
14 try:
15 shutil.rmtree('ipython.egg-info')
16 except:
17 try:
18 os.unlink('ipython.egg-info')
19 except:
20 pass
@@ -24,10 +24,10 b" c('./setup.py sdist --formats=gztar,zip')"
24 # Build version-specific RPMs, where we must use the --python option to ensure
24 # Build version-specific RPMs, where we must use the --python option to ensure
25 # that the resulting RPM is really built with the requested python version (so
25 # that the resulting RPM is really built with the requested python version (so
26 # things go to lib/python2.X/...)
26 # things go to lib/python2.X/...)
27 c("python2.5 ./setup.py bdist_rpm --binary-only --release=py25 "
27 #c("python2.5 ./setup.py bdist_rpm --binary-only --release=py25 "
28 "--python=/usr/bin/python2.5")
28 # "--python=/usr/bin/python2.5")
29 c("python2.6 ./setup.py bdist_rpm --binary-only --release=py26 "
29 #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 ./setupegg.py bdist_egg')
33 c('python2.5 ./setupegg.py bdist_egg')
@@ -36,7 +36,7 b" c('python2.6 ./setupegg.py bdist_egg')"
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
38 # bdist_wininst)
38 # bdist_wininst)
39 c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py")
39 c("python ./setup.py bdist_wininst")
40
40
41 # Change name so retarded Vista runs the installer correctly
41 # Change name so retarded Vista runs the installer correctly
42 c("rename 's/linux-i686/win32-setup/' dist/*.exe")
42 c("rename 's/linux-i686/win32-setup/' dist/*.exe")
General Comments 0
You need to be logged in to leave comments. Login now