Mastodon.py/setup.py

55 wiersze
1.3 KiB
Python
Czysty Zwykły widok Historia

2017-09-05 20:59:32 +00:00
from setuptools import setup
2019-05-31 12:12:04 +00:00
test_deps = [
'pytest',
'pytest-runner',
'pytest-cov',
'vcrpy',
'pytest-vcr',
'pytest-mock',
'requests-mock'
]
webpush_deps = [
'http_ece>=1.0.5',
'cryptography>=1.6.0',
]
2019-06-22 13:34:59 +00:00
blurhash_deps = [
'blurhash>=1.1.4',
2019-06-22 13:34:59 +00:00
]
extras = {
2019-06-22 13:34:59 +00:00
"test": test_deps + webpush_deps + blurhash_deps,
"webpush": webpush_deps,
"blurhash": blurhash_deps,
}
setup(name='Mastodon.py',
2019-10-12 21:20:28 +00:00
version='1.5.0',
description='Python wrapper for the Mastodon API',
packages=['mastodon'],
2018-06-05 12:10:53 +00:00
install_requires=[
2019-04-28 21:22:09 +00:00
'requests>=2.4.2',
2018-06-05 12:10:53 +00:00
'python-dateutil',
'six',
'pytz',
'python-magic',
2018-06-05 12:10:53 +00:00
'decorator>=4.0.0',
] + blurhash_deps,
tests_require=test_deps,
extras_require=extras,
2016-11-24 19:40:23 +00:00
url='https://github.com/halcy/Mastodon.py',
author='Lorenz Diener',
author_email='lorenzd+mastodonpypypi@gmail.com',
license='MIT',
keywords='mastodon api microblogging',
classifiers=[
2017-06-15 23:29:12 +00:00
'Development Status :: 5 - Production/Stable',
2016-11-24 19:40:23 +00:00
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
2017-09-05 20:59:32 +00:00
])