Skip to content

Commit

Permalink
Merge pull request #105 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 98049f5 + 28fd2b4 commit ac42aef
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.11.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.11.0.dev0'
version_path = os.path.join(os.path.dirname(__file__), 'VERSION')
with open(version_path) as fh:
version = fh.read().strip()

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

0 comments on commit ac42aef

Please sign in to comment.