[X2Go-Commits] [x2goclient] 75/94: setup.py: need to import the sys module, not just version_info into global namespace.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:06:51 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.6.1.0
in repository x2goclient.
commit b5d0ec9c0de36ee76fc38f7b38626b12da103e8d
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Nov 10 13:54:55 2018 +0100
setup.py: need to import the sys module, not just version_info into global namespace.
---
debian/changelog | 2 ++
setup.py | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 764f8729..8a7998db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ pyhoca-cli (0.6.0.1-0x2go1) UNRELEASED; urgency=medium
* 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.
+ - setup.py: need to import the sys module, not just version_info into
+ global namespace.
* 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 05507ff1..b30d8e6e 100755
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
import os
-from sys import version_info
+import sys
from setuptools import setup
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list