diff --git a/nbt/__init__.py b/nbt/__init__.py index 1a0884d..bafa22d 100644 --- a/nbt/__init__.py +++ b/nbt/__init__.py @@ -1 +1,3 @@ -from nbt import * \ No newline at end of file +from nbt import * + +VERSION = (1, 0) \ No newline at end of file diff --git a/setup.py b/setup.py index 5e1eea8..1a9f44e 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,11 @@ #!/usr/bin/env python from distutils.core import setup +from nbt import VERSION setup( name='NBT', - version='0.9', + version=".".join(str(x) for x in VERSION), description='Named Binary Tag Reader/Writer', author='Thomas Woolford', author_email='woolford.thomas@gmail.com',