Skip to content

Commit

Permalink
setuptools-based testing works as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Gordon committed Oct 12, 2018
1 parent cb9871a commit 0bdea30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[aliases]
test=pytest
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -113,7 +113,7 @@ def run(self):

# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['tests']),
packages=find_packages(),

# TODO: Add a command line tool
# To provide executable scripts, use entry points in preference to the
Expand All @@ -139,6 +139,7 @@ def run(self):
'mock',
'pytest',
],
setup_requires=["pytest-runner"],

# setup.py publish support.
cmdclass={
Expand Down

0 comments on commit 0bdea30

Please sign in to comment.