Browse files

use nosetests setuptools integration

  • Loading branch information...
1 parent 37a62ab commit 4716a5e4da11ab4d43f72c1760ab5bb5520cf36d @dcrosta committed May 26, 2012
Showing with 10 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +7 −0 setup.cfg
  3. +2 −3 setup.py
View
1 .gitignore
@@ -2,3 +2,4 @@ Flask_PyMongo.egg-info
nose*.egg-info
nose*.egg
_build
+.coverage
View
7 setup.cfg
@@ -0,0 +1,7 @@
+[nosetests]
+verbosity = 2
+detailed-errors = 1
+with-coverage = 1
+cover-package = flask_pymongo
+cover-inclusive = 1
+
View
5 setup.py
@@ -51,9 +51,8 @@
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
- tests_require=[
- 'nose',
- ],
+ setup_requires=['nose'],
+ tests_require=['nose'],
test_suite='nose.collector',
)

0 comments on commit 4716a5e

Please sign in to comment.