Show More
@@ -83,21 +83,6 b' from setupext import setupext' | |||||
83 | isfile = os.path.isfile |
|
83 | isfile = os.path.isfile | |
84 | pjoin = os.path.join |
|
84 | pjoin = os.path.join | |
85 |
|
85 | |||
86 | #----------------------------------------------------------------------------- |
|
|||
87 | # Function definitions |
|
|||
88 | #----------------------------------------------------------------------------- |
|
|||
89 |
|
||||
90 | def cleanup(): |
|
|||
91 | """Clean up the junk left around by the build process""" |
|
|||
92 | if "develop" not in sys.argv and "egg_info" not in sys.argv: |
|
|||
93 | try: |
|
|||
94 | shutil.rmtree('ipython.egg-info') |
|
|||
95 | except: |
|
|||
96 | try: |
|
|||
97 | os.unlink('ipython.egg-info') |
|
|||
98 | except: |
|
|||
99 | pass |
|
|||
100 |
|
||||
101 | #------------------------------------------------------------------------------- |
|
86 | #------------------------------------------------------------------------------- | |
102 | # Handle OS specific things |
|
87 | # Handle OS specific things | |
103 | #------------------------------------------------------------------------------- |
|
88 | #------------------------------------------------------------------------------- | |
@@ -343,7 +328,6 b' setup_args.update(setuptools_extra_args)' | |||||
343 |
|
328 | |||
344 | def main(): |
|
329 | def main(): | |
345 | setup(**setup_args) |
|
330 | setup(**setup_args) | |
346 | cleanup() |
|
|||
347 |
|
331 | |||
348 | if __name__ == '__main__': |
|
332 | if __name__ == '__main__': | |
349 | main() |
|
333 | main() |
General Comments 0
You need to be logged in to leave comments.
Login now