Skip to content

Commit

Permalink
Merge pull request #35 from tilezen/nvkelso/add-version-file
Browse files Browse the repository at this point in the history
move VERSION to file, look that up in setup.py
  • Loading branch information
zerebubuth authored Aug 31, 2016
2 parents be736b5 + bbc586c commit 1868cd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.8.0-pre2
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import os.path
from setuptools import setup, find_packages

version = '0.8.0.dev0'
version_path = os.path.join(os.path.dirname(__file__), 'VERSION')
with open(version_path) as fh:
version = fh.read().strip()

setup(name='tileserver',
version=version,
Expand Down

0 comments on commit 1868cd9

Please sign in to comment.