aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <[email protected]>2017-04-10 06:48:57 +0100
committerWill Thompson <[email protected]>2017-04-10 08:00:43 +0100
commit280c60120beb13d00c807c418c765b93da248b19 (patch)
tree43651ca88422f387be324d62101c83180b950d6a
parent853ae97dccc91988874ae229e9977c8f41a02e44 (diff)
downloadmastodon.py-280c60120beb13d00c807c418c765b93da248b19.tar.gz
Set up pytest
-rw-r--r--setup.cfg3
-rw-r--r--setup.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 14c6824..459ffba 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,3 +5,6 @@ universal=1
5source-dir = docs 5source-dir = docs
6build-dir = docs/build 6build-dir = docs/build
7all_files = 1 7all_files = 1
8
9[aliases]
10test=pytest
diff --git a/setup.py b/setup.py
index a9e2bfc..59d684b 100644
--- a/setup.py
+++ b/setup.py
@@ -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',
Powered by cgit v1.2.3 (git 2.41.0)