diff --git a/setup.py b/setup.py index c7d24ad..922cff5 100644 --- a/setup.py +++ b/setup.py @@ -47,12 +47,12 @@ def get_version(): result = result.decode('ascii').strip()[1:] # strip spaces/newlines and initial v if '-' in result: # not a tagged version real_number, commit_count, commit_hash = result.split('-', 2) - version = '%s.dev%s+%s' % (real_number, commit_count, commit_hash) + version = '%s.post%s+%s' % (real_number, commit_count, commit_hash) else: version = result return version else: - return '0.0.dev%s' % len( + return '0.0.post%s' % len( subprocess.check_output( ['git', 'rev-list', 'HEAD']).splitlines()) return '0.0'