Skip to content

Commit

Permalink
Use setuptools_scm for versioning
Browse files Browse the repository at this point in the history
setuptools_scm is an extension for setuptools to generate package
version based on VCS tag (i.e. Git tag).
  • Loading branch information
Ihor Kalnytskyi committed Jan 29, 2017
1 parent 7551949 commit 70a465e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

setup(
name='sphinxcontrib-openapi',
version='0.2.1',
description='OpenAPI (fka Swagger) spec renderer for Sphinx',
long_description=long_description,
license='BSD',
Expand All @@ -26,6 +25,10 @@
packages=find_packages(),
include_package_data=True,
zip_safe=False,
use_scm_version=True,
setup_requires=[
'setuptools_scm >= 1.15',
],
install_requires=[
'sphinxcontrib-httpdomain >= 1.5.0',
'PyYAML >= 3.12',
Expand Down

0 comments on commit 70a465e

Please sign in to comment.