Skip to content

Commit

Permalink
Add Versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpgraae committed Mar 14, 2018
1 parent f107e9e commit d17b4b5
Show file tree
Hide file tree
Showing 7 changed files with 2,359 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
terracotta/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include versioneer.py
include terracotta/_version.py
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[versioneer]
VCS = git
style = pep440
versionfile_source = terracotta/_version.py
versionfile_build = terracotta/_version.py
tag_prefix = v
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import versioneer

from setuptools import setup, find_packages


setup(
name='terracotta',
version='0.1.0',
version=versioneer.get_version(),
cmdclass=verioneer.get_cmdclass()
description='An XYZ tile server written in Python',
author='Philip Graae',
author_email='[email protected]',
Expand Down
4 changes: 4 additions & 0 deletions terracotta/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Loading

0 comments on commit d17b4b5

Please sign in to comment.