Mastodonplus.py/setup.py

55 líneas
1,3 KiB
Python
Original Vista normal Històric

2017-09-05 22:59:32 +02:00
from setuptools import setup
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',
]
extras = {
2019-06-22 15:34:59 +02:00
"test": test_deps + webpush_deps + blurhash_deps,
"webpush": webpush_deps,
"blurhash": blurhash_deps,
}
setup(name='Mastodon.py',
2019-06-22 23:18:16 +02:00
version='1.4.4',
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',
'pytz',
'python-magic',
2018-06-05 14:10:53 +02:00
'decorator>=4.0.0',
],
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
])