1. fanstatic
  2. Untitled project
  3. fanstatic

Commits

Alex Grönholm  committed b5a5c3d

Use tests_require instead of extras for declaring the pytest dependency

  • Participants
  • Parent commits 3f5bee9
  • Branches default

Comments (0)

Files changed (2)

File setup.py

View file
     install_requires=[
         'WebOb >= 1.2'
     ],
-    extras_require = dict(
-        test=['pytest >= 2.0'],
-        ),
+    tests_require=[
+        'pytest >= 2.0'
+    ],
     cmdclass = {'test': PyTest},
     entry_points = {
         'paste.filter_app_factory': [

File tox.ini

View file
 
 [testenv]
 deps =
-  fanstatic[test]
+  fanstatic
 # Hack to install a local fixture for the test run.
   :FIXTURES:mypackage
 commands = python setup.py test