diff options
author | Will Thompson <[email protected]> | 2017-04-10 06:48:57 +0100 |
---|---|---|
committer | Will Thompson <[email protected]> | 2017-04-10 08:00:43 +0100 |
commit | 280c60120beb13d00c807c418c765b93da248b19 (patch) | |
tree | 43651ca88422f387be324d62101c83180b950d6a | |
parent | 853ae97dccc91988874ae229e9977c8f41a02e44 (diff) | |
download | mastodon.py-280c60120beb13d00c807c418c765b93da248b19.tar.gz |
Set up pytest
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -5,3 +5,6 @@ universal=1 | |||
5 | source-dir = docs | 5 | source-dir = docs |
6 | build-dir = docs/build | 6 | build-dir = docs/build |
7 | all_files = 1 | 7 | all_files = 1 |
8 | |||
9 | [aliases] | ||
10 | test=pytest | ||
@@ -4,6 +4,8 @@ setup(name='Mastodon.py', | |||
4 | version='1.0.6', | 4 | version='1.0.6', |
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'], | ||
8 | tests_require=['pytest'], | ||
7 | install_requires=['requests', 'dateutils'], | 9 | install_requires=['requests', 'dateutils'], |
8 | url='https://github.com/halcy/Mastodon.py', | 10 | url='https://github.com/halcy/Mastodon.py', |
9 | author='Lorenz Diener', | 11 | author='Lorenz Diener', |