diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 23 |
1 files changed, 18 insertions, 5 deletions
@@ -1,12 +1,27 @@ | |||
1 | from setuptools import setup | 1 | from setuptools import setup |
2 | 2 | ||
3 | test_deps = ['pytest', 'pytest-runner', 'pytest-cov', 'vcrpy', 'pytest-vcr', 'pytest-mock', 'requests-mock'] | 3 | test_deps = [ |
4 | 'pytest', | ||
5 | 'pytest-runner', | ||
6 | 'pytest-cov', | ||
7 | 'vcrpy', | ||
8 | 'pytest-vcr', | ||
9 | 'pytest-mock', | ||
10 | 'requests-mock' | ||
11 | ] | ||
12 | |||
13 | webpush_deps = [ | ||
14 | 'http_ece>=1.0.5', | ||
15 | 'cryptography>=1.6.0', | ||
16 | ] | ||
17 | |||
4 | extras = { | 18 | extras = { |
5 | "test": test_deps | 19 | "test": test_deps, |
20 | "webpush": webpush_deps, | ||
6 | } | 21 | } |
7 | 22 | ||
8 | setup(name='Mastodon.py', | 23 | setup(name='Mastodon.py', |
9 | version='1.4.2', | 24 | version='1.4.3', |
10 | description='Python wrapper for the Mastodon API', | 25 | description='Python wrapper for the Mastodon API', |
11 | packages=['mastodon'], | 26 | packages=['mastodon'], |
12 | install_requires=[ | 27 | install_requires=[ |
@@ -16,8 +31,6 @@ setup(name='Mastodon.py', | |||
16 | 'pytz', | 31 | 'pytz', |
17 | 'python-magic', | 32 | 'python-magic', |
18 | 'decorator>=4.0.0', | 33 | 'decorator>=4.0.0', |
19 | 'http_ece>=1.0.5', | ||
20 | 'cryptography>=1.6.0', | ||
21 | 'blurhash>=1.1.3', | 34 | 'blurhash>=1.1.3', |
22 | ], | 35 | ], |
23 | tests_require=test_deps, | 36 | tests_require=test_deps, |