| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/py-formencode/files/ |
Upload File : |
https://github.com/formencode/formencode/commit/74bbd2ea74aa
--- setup.py.orig 2015-02-07 10:32:40 UTC
+++ setup.py
@@ -11,11 +11,11 @@ from setuptools import setup, find_packages
version = '1.3.0'
-if not '2.6' <= sys.version < '3.0' and not '3.2' <= sys.version:
+if not (2,6) <= sys.version_info[:2] < (3,0) and not (3,2) <= sys.version_info[:2]:
raise ImportError('Python version not supported')
tests_require = ['nose', 'pycountry',
- 'dnspython' if sys.version < '3.0' else 'dnspython3']
+ 'dnspython' if sys.version_info < (3,0) else 'dnspython3']
doctests = ['docs/htmlfill.txt', 'docs/Validator.txt',
'formencode/tests/non_empty.txt']