[Python-modules-commits] [python-pyld] 203/276: Extract package version from jsonld.__version__.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:48:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-pyld.

commit 0526ee881deb78966bff885f048852bb9a32a22b
Author: David I. Lehn <dlehn at digitalbazaar.com>
Date:   Wed Sep 25 13:31:20 2013 -0400

    Extract package version from jsonld.__version__.
---
 setup.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 47fb792..75aeb3b 100644
--- a/setup.py
+++ b/setup.py
@@ -10,13 +10,18 @@ PyLD_ is a Python JSON-LD_ library.
 """
 
 from distutils.core import setup
+import os
+import sys
+
+sys.path.append(os.path.join(os.path.dirname(__file__), 'lib'))
+from pyld import jsonld
 
 with open('README.rst') as file:
     long_description = file.read()
 
 setup(
     name = 'PyLD',
-    version = '0.1.1-dev',
+    version = jsonld.__version__,
     description = 'Python implementation of the JSON-LD API',
     long_description=long_description,
     author = 'Digital Bazaar',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git



More information about the Python-modules-commits mailing list