فهرست منبع

fix tox testing

oz123 10 سال پیش
والد
کامیت
a108ab0660
3فایلهای تغییر یافته به همراه4 افزوده شده و 6 حذف شده
  1. 0 6
      setup.py
  2. 3 0
      test_requirements.txt
  3. 1 0
      tox.ini

+ 0 - 6
setup.py

@@ -327,11 +327,6 @@ class PyCryptoInstallCommand(install):
             print(('Please use pip or your Distro\'s package manager '
                    'to install pycrypto ...'))
 
-if 'win' in sys.platform:
-    test_requirements = None
-else:
-    test_requirements = ['pexpect']
-
 
 setup(name=pwman.appname,
       version=describe(),
@@ -363,7 +358,6 @@ setup(name=pwman.appname,
                    'Programming Language :: Python :: 3.4',
                    ],
       test_suite='tests.test_pwman.suite',
-      tests_require=test_requirements,
       cmdclass={
           'install_pycrypto': PyCryptoInstallCommand,
           'build_manpage': BuildManPage

+ 3 - 0
test_requirements.txt

@@ -1 +1,4 @@
 psycopg2
+pymysql
+pexpect
+pexpect

+ 1 - 0
tox.ini

@@ -12,3 +12,4 @@ changedir = .
 deps = pexpect
        pycrypto
        colorama
+sitepackages=True