Skip to content

Commit

Permalink
setup: remove genversion.pyc too
Browse files Browse the repository at this point in the history
If a leftover genversion.pyc is still existant from a previous build, it
will cause the version number to be incorrect. Delete it after
installing.
  • Loading branch information
bebarino committed Oct 20, 2009
1 parent cbff70f commit 9eaddac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -134,5 +134,6 @@ def rmgeneric(path, __func__):
pass
try:
os.remove("sonata/genversion.py")
os.remove("sonata/genversion.pyc")
except:
pass

0 comments on commit 9eaddac

Please sign in to comment.