Commits

Stephen Jones  committed c9a3aef

Make setup.py use version file.

  • Participants
  • Parent commits 846f21b

Comments (0)

Files changed (1)

 
 from setuptools import setup
 
+fh = open("version", "rb")
+version = fh.readline()
+fh.close()
+version.trim()
+
 setup(name='hanzo-warc-tools',
-      version='0.2',
+      version=version,
       license="MIT License",
       description='Command line tools and libraries for handling and manipulating WARC files (and HTTP contents)',
       author='Thomas Figg',