Procházet zdrojové kódy

setup.py: testing_extras: nose => pytest

Plus make setup.py pep8-compliant.
Marc Abramowitz před 10 roky
rodič
revize
6b89dee4b4
1 změnil soubory, kde provedl 11 přidání a 11 odebrání
  1. 11 11
      setup.py

+ 11 - 11
setup.py

@@ -28,10 +28,10 @@ if py_version < (3, 3):
     tests_require.append('mock')
 
 testing_extras = tests_require + [
-    'nose',
-    'coverage',
+    'pytest',
+    'pytest-cov',
     ]
-    
+
 from setuptools import setup, find_packages
 here = os.path.abspath(os.path.dirname(__file__))
 try:
@@ -71,7 +71,7 @@ dist = setup(
     license='BSD-derived (http://www.repoze.org/LICENSE.txt)',
     url='http://supervisord.org/',
     description="A system for controlling process state under UNIX",
-    long_description=README + '\n\n' +  CHANGES,
+    long_description=README + '\n\n' + CHANGES,
     classifiers=CLASSIFIERS,
     author="Chris McDonough",
     author_email="chrism@plope.com",
@@ -80,19 +80,19 @@ dist = setup(
     packages=find_packages(),
     install_requires=requires,
     extras_require={
-        'iterparse':['cElementTree >= 1.0.2'],
-        'testing':testing_extras,
+        'iterparse': ['cElementTree >= 1.0.2'],
+        'testing': testing_extras,
         },
     tests_require=tests_require,
     include_package_data=True,
     zip_safe=False,
     test_suite="supervisor.tests",
     entry_points={
-     'console_scripts': [
-         'supervisord = supervisor.supervisord:main',
-         'supervisorctl = supervisor.supervisorctl:main',
-         'echo_supervisord_conf = supervisor.confecho:main',
-         'pidproxy = supervisor.pidproxy:main',
+        'console_scripts': [
+            'supervisord = supervisor.supervisord:main',
+            'supervisorctl = supervisor.supervisorctl:main',
+            'echo_supervisord_conf = supervisor.confecho:main',
+            'pidproxy = supervisor.pidproxy:main',
         ],
     },
 )