Mastodonplus.py/setup.py

63 líneas
1,5 KiB
Python
Original Vista normal Històric

import setuptools
VERSION = '1.5.5.1'
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.4',
2019-06-22 15:34:59 +02:00
]
extras = {
2019-06-22 15:34:59 +02:00
"test": test_deps + webpush_deps + blurhash_deps,
"webpush": webpush_deps,
"blurhash": blurhash_deps,
}
with open('README.rst', 'r', encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(
name='Mastodonplus.py',
version=VERSION,
description='Python wrapper for the Mastodon API (new endpoints)',
packages=['mastodon'],
long_description=long_description,
long_description_content_type='text/markdown',
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',
] + blurhash_deps,
tests_require=test_deps,
extras_require=extras,
url='https://git.mastodont.cat/spla/Mastodon.py',
2016-11-24 20:40:23 +01:00
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
])