summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ee95d97..ed47b66 100644
--- a/setup.py
+++ b/setup.py
@@ -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',