Skip to content

Commit

Permalink
allow setup.py to infer the version number from git
Browse files Browse the repository at this point in the history
  • Loading branch information
rosskarchner committed Sep 20, 2017
1 parent 824f11d commit 3831561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def read_file(filename):

setup(
name='owning-a-home-api',
version='0.9.96',
version_format='{tag}.dev{commitcount}+{gitsha}',
author='CFPB',
author_email='tech@cfpb.gov',
packages=find_packages(),
Expand All @@ -38,6 +38,7 @@ def read_file(filename):
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
],
setup_requires=['setuptools-git-version==1.0.3'],
long_description=read_file('README.md'),
zip_safe=False,
)

0 comments on commit 3831561

Please sign in to comment.