Skip to content

Commit

Permalink
Move to py.test
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalresistor committed Apr 25, 2017
1 parent f5fac9d commit 877199d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
11 changes: 3 additions & 8 deletions setup.cfg
@@ -1,14 +1,9 @@
[easy_install]
zip_ok = false

[nosetests]
match=^test
where=venusian
nocapture=1
cover-package=venusian
cover-erase=1
cover-min-percentage=100
exclude-dir=venusian/tests/fixtures
[tools:pytest]
ignore=venusian/tests/fixtures/
testpaths=venusian/tests/

[aliases]
dev = develop easy_install venusian[testing]
Expand Down
20 changes: 12 additions & 8 deletions setup.py
Expand Up @@ -28,12 +28,16 @@
README = ''
CHANGES = ''

tests_extras = [
'nose',
'nose-exclude != 0.2.0, != 0.3.0', # 0.2 ~ 0.3 has issues under py3
'coverage'
]
docs_extras = ['Sphinx', 'repoze.sphinx.autointerface']
testing_extras = [
'pytest',
'coverage',
'pytest-cov',
]

docs_extras = [
'Sphinx',
'repoze.sphinx.autointerface'
]

setup(name='venusian',
version='1.1-dev0',
Expand All @@ -58,8 +62,8 @@
packages=find_packages(),
include_package_data=True,
zip_safe=False,
extras_require = {
'testing': tests_extras,
extras_require={
'testing': testing_extras,
'docs': docs_extras,
},
tests_require = [],
Expand Down

0 comments on commit 877199d

Please sign in to comment.