[X2Go-Commits] [pyhoca-cli] 01/01: setup.py: we actually also need the version information, so import it.

git-admin at x2go.org git-admin at x2go.org
Sat Nov 10 13:47:15 CET 2018


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

x2go pushed a commit to branch master
in repository pyhoca-cli.

commit 0d50466707deb8336ac8cd483cd69e7f65927eeb
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Nov 10 13:47:11 2018 +0100

    setup.py: we actually also need the version information, so import it.
---
 debian/changelog | 1 +
 setup.py         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 28d16cb..764f872 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ pyhoca-cli (0.6.0.1-0x2go1) UNRELEASED; urgency=medium
   [ Mihai Moldovan ]
   * New upstream version (0.6.0.1):
     - setup.py: backport Python 2 support via io.open.
+    - setup.py: we actually also need the version information, so import it.
   * pyhoca-cli.spec:
     - Build with Python 2 on CentOS, drop python3-argparse
       dependency (part of stdlib).
diff --git a/setup.py b/setup.py
index 878e68b..05507ff 100755
--- a/setup.py
+++ b/setup.py
@@ -19,6 +19,7 @@
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 import os
+from sys import version_info
 
 from setuptools import setup
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-cli.git


More information about the x2go-commits mailing list