diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,10 +1,20 @@ #!/usr/bin/env python +version='0.2' +try: + import pysvn + from pysvn import Client + import os + extra = Client().info(os.path.dirname(__file__)).revision.number + version = "%s-r%s" % (version,extra) +except: + pass + from setuptools import setup, find_packages setup( name='ebus', - version='0.2', + version=version, description='Ebus over TCP Library', author='xapek.org', author_email='ebus@xapek.org', |