2017-09-05 22:59:32 +02:00
|
|
|
from setuptools import setup
|
2016-11-24 14:11:07 +01:00
|
|
|
|
2019-05-31 14:12:04 +02: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 15:34:59 +02:00
|
|
|
blurhash_deps = [
|
|
|
|
'blurhash>=1.1.3',
|
|
|
|
]
|
|
|
|
|
2017-11-28 06:03:13 +01:00
|
|
|
extras = {
|
2019-06-22 15:34:59 +02:00
|
|
|
"test": test_deps + webpush_deps + blurhash_deps,
|
|
|
|
"webpush": webpush_deps,
|
|
|
|
"blurhash": blurhash_deps,
|
2017-11-28 06:03:13 +01:00
|
|
|
}
|
|
|
|
|
2016-11-24 14:11:07 +01:00
|
|
|
setup(name='Mastodon.py',
|
2019-07-23 12:08:21 +02:00
|
|
|
version='1.4.6',
|
2016-11-24 14:11:07 +01:00
|
|
|
description='Python wrapper for the Mastodon API',
|
|
|
|
packages=['mastodon'],
|
2018-06-05 14:10:53 +02:00
|
|
|
install_requires=[
|
2019-04-28 23:22:09 +02:00
|
|
|
'requests>=2.4.2',
|
2018-06-05 14:10:53 +02:00
|
|
|
'python-dateutil',
|
|
|
|
'six',
|
2018-11-12 15:44:57 +01:00
|
|
|
'pytz',
|
|
|
|
'python-magic',
|
2018-06-05 14:10:53 +02:00
|
|
|
'decorator>=4.0.0',
|
|
|
|
],
|
2017-11-28 06:03:13 +01:00
|
|
|
tests_require=test_deps,
|
|
|
|
extras_require=extras,
|
2016-11-24 20:40:23 +01: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-16 01:29:12 +02:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2016-11-24 20:40:23 +01:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Topic :: Communications',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
'Programming Language :: Python :: 3',
|
2017-09-05 22:59:32 +02:00
|
|
|
])
|