diff options
author | tavis_rudd <tavis_rudd> | 2002-03-28 18:14:48 +0000 |
---|---|---|
committer | tavis_rudd <tavis_rudd> | 2002-03-28 18:14:48 +0000 |
commit | e0eae0ffeb79a082109b71fd1a64dbd2c4df3708 (patch) | |
tree | 97fffebf2455c15ab1483a06814264ff6df6fead /setup.py | |
parent | 6dc65db462577c8eb7807ab847f9609041893cfc (diff) | |
download | python-cheetah-e0eae0ffeb79a082109b71fd1a64dbd2c4df3708.tar.gz |
added code to automatically remove the MANIFEST file before repacking Cheetah,
so I never again encounter the out-of-date-manifest problem
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ #!/usr/bin/env python -# $Id: setup.py,v 1.13 2002/03/08 17:01:00 tavis_rudd Exp $ +# $Id: setup.py,v 1.14 2002/03/28 18:14:48 tavis_rudd Exp $ +import os + +try: + os.remove('MANIFEST') # to avoid those bloody out-of-date manifests!! +except: + pass + try: # see if WebwareExp's Setup procedure can be used from src._properties import Version, Description |