[tor-commits] [pyptlib/master] Add __version__ attribute in pyptlib package.

asn at torproject.org asn at torproject.org
Sat May 10 19:14:00 UTC 2014


commit c3be729bf1c1d79ca68e115923cb0bc8e8022f95
Author: John Giannelos <johngiannelos at gmail.com>
Date:   Sat May 10 02:58:29 2014 +0300

    Add __version__ attribute in pyptlib package.
---
 pyptlib/__init__.py |    2 +-
 setup.py            |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyptlib/__init__.py b/pyptlib/__init__.py
index 8b13789..fa9c4ec 100644
--- a/pyptlib/__init__.py
+++ b/pyptlib/__init__.py
@@ -1 +1 @@
-
+__version__ = '0.0.6'
diff --git a/setup.py b/setup.py
index a449507..31fd643 100644
--- a/setup.py
+++ b/setup.py
@@ -1,11 +1,11 @@
 #!/usr/bin/env python
-
 import sys
 
 from setuptools import setup, find_packages
+from pyptlib import __version__
 
 setup(name='pyptlib',
-      version='0.0.6',
+      version=__version__,
       description='A python implementation of the Pluggable Transports for Circumvention specification for Tor',
       long_description='A python implementation of the Pluggable Transports for Circumvention specification for Tor',
       author='asn, Brandon Wiley',



More information about the tor-commits mailing list