##// END OF EJS Templates
Put build cmds in a single place to minimize repetition errors.
Fernando Perez -
Show More
@@ -23,10 +23,10 b" for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'),"
23 23 remove_tree(d)
24 24
25 25 # Build source and binary distros
26 sh('./setup.py sdist --formats=gztar,zip')
26 sh(sdists)
27 27
28 28 # Build eggs
29 sh('python ./setupegg.py bdist_egg')
29 sh(eggs)
30 30
31 31 # Run windows builds
32 32 map(sh, win_builds)
@@ -49,9 +49,8 b' cd(ipdir)'
49 49 sh('./setup.py register')
50 50
51 51 # Upload all files
52 sh('./setup.py sdist --formats=gztar,zip upload')
53 for wb in win_builds:
54 sh(wb + ' upload')
52 for cmd in [sdists, eggs] + win_builds:
53 sh(cmd + ' upload')
55 54 cd(distdir)
56 55 print( 'Uploading distribution files...')
57 56
@@ -19,7 +19,13 b" archive_user = 'ipython@archive.ipython.org'"
19 19 archive_dir = 'archive.ipython.org'
20 20 archive = '%s:%s' % (archive_user, archive_dir)
21 21
22 # Commands for Windows builds.
22 # Build commands
23 # Source dists
24 sdists = './setup.py sdist --formats=gztar,zip'
25 # Eggs
26 eggs = './setupegg.py bdist_egg'
27
28 # Windows builds.
23 29 # We do them separately, so that the extra Windows scripts don't get pulled
24 30 # into Unix builds (setup.py has code which checks for bdist_wininst). Note
25 31 # that the install scripts args are added to the main distutils call in
General Comments 0
You need to be logged in to leave comments. Login now