Skip to content
Browse files

Move version to independent file

  • Loading branch information...
1 parent 20e91ae commit 704cbf2c4fc5f6ac5f73199ce916fd321f64e8ab @jgorset committed May 4, 2012
Showing with 5 additions and 2 deletions.
  1. +1 −1 facebook/__init__.py
  2. +1 −0 facebook/version.py
  3. +3 −1 setup.py
View
2 facebook/__init__.py
@@ -1,3 +1,3 @@
"""TODO: Document your package."""
-__version__ = 'TODO: Enter a version'
+from .version import __version__
View
1 facebook/version.py
@@ -0,0 +1 @@
+__version__ = '0.0.0'
View
4 setup.py
@@ -2,9 +2,11 @@
from distutils.core import setup
+execfile('facebook/version.py')
+
setup(
name = 'Facebook',
- version = '0.0',
+ version = __version__,
description = 'Facebook makes it even easier to interact with Facebook\'s Graph API',
long_description = open('README.rst').read() + '\n\n' + open('HISTORY.rst').read(),
author = 'Johannes Gorset',

0 comments on commit 704cbf2

Please sign in to comment.
Something went wrong with that request. Please try again.