Skip to content

Commit

Permalink
added setuptools test info and command
Browse files Browse the repository at this point in the history
  • Loading branch information
pauliacomi committed Jun 27, 2018
1 parent 63b5334 commit 61d7d5b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 0 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ graft ci
graft tests

include .build.info
include .bumpversion.cfg
include .coveragerc
include .pylintrc
include .cookiecutterrc
include .editorconfig
include .isort.cfg
include .vscode/settings.json

include AUTHORS.rst
Expand All @@ -21,4 +18,3 @@ include README.rst
include tox.ini .travis.yml appveyor.yml

global-exclude *.py[cod] __pycache__ *.so *.dylib

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[bdist_wheel]
universal = 1

[aliases]
test=pytest

[bumpversion]
current_version = 1.2.0
Expand Down
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def read(*names, **kwargs):
keywords=[
'adsorption', 'science', 'porous materials'
],
# setup_requires=[],
setup_requires=[
'pytest-runner',
],
install_requires=[
'numpy >= 1.13',
'scipy >= 1.0.0',
Expand All @@ -65,6 +67,12 @@ def read(*names, **kwargs):
'xlwt >= 1.3',
'coolprop >= 6.0',
],
tests_require=[
'pytest',
'pytest-cov',
'coverage',
'nose',
],
extras_require={
# eg:
# 'rst': ['docutils>=0.11'],
Expand Down

0 comments on commit 61d7d5b

Please sign in to comment.