diff options
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -8,3 +8,6 @@ all_files = 1 | |||
8 | 8 | ||
9 | [aliases] | 9 | [aliases] |
10 | test=pytest | 10 | test=pytest |
11 | |||
12 | [tool:pytest] | ||
13 | addopts = --cov=mastodon | ||
@@ -5,7 +5,7 @@ setup(name='Mastodon.py', | |||
5 | description='Python wrapper for the Mastodon API', | 5 | description='Python wrapper for the Mastodon API', |
6 | packages=['mastodon'], | 6 | packages=['mastodon'], |
7 | setup_requires=['pytest-runner'], | 7 | setup_requires=['pytest-runner'], |
8 | tests_require=['pytest'], | 8 | tests_require=['pytest', 'pytest-cov'], |
9 | install_requires=['requests', 'python-dateutil', 'six', 'pytz'], | 9 | install_requires=['requests', 'python-dateutil', 'six', 'pytz'], |
10 | url='https://github.com/halcy/Mastodon.py', | 10 | url='https://github.com/halcy/Mastodon.py', |
11 | author='Lorenz Diener', | 11 | author='Lorenz Diener', |