Author: dmeyer
Date: Fri Feb 3 16:42:18 2006
New Revision: 1158
Modified:
trunk/setup.py
Log:
remove dist and MANIFEST on clean
Modified: trunk/setup.py
==============================================================================
--- trunk/setup.py (original)
+++ trunk/setup.py Fri Feb 3 16:42:18 2006
@@ -42,14 +42,14 @@
if len(sys.argv) == 2 and sys.argv[1] == 'clean':
for m in submodules:
- build = os.path.join(m, 'build')
- if os.path.isdir(build):
- print 'removing %s' % build
- os.system('rm -rf %s' % build)
- version = os.path.join(m, 'src/version.py')
- if os.path.isfile(version):
- print 'removing %s' % version
- os.unlink(version)
+ for file in ('build', 'dist', 'src/version.py', 'MANIFEST'):
+ file = os.path.join(m, file)
+ if os.path.isdir(file):
+ print 'removing %s' % file
+ os.system('rm -rf %s' % file)
+ if os.path.isfile(file):
+ print 'removing %s' % file
+ os.unlink(file)
else:
failed = []
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog