2017-04-12 10:42:04 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
2017-12-29 06:10:40 -05:00
|
|
|
long_description = """
|
2019-09-03 10:12:16 -04:00
|
|
|
Toot is a CLI and TUI tool for interacting with Mastodon instances from the
|
|
|
|
command line.
|
|
|
|
|
2017-12-29 06:10:40 -05:00
|
|
|
Allows posting text and media to the timeline, searching, following, muting
|
|
|
|
and blocking accounts and other actions.
|
|
|
|
"""
|
2017-04-12 10:42:04 -04:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='toot',
|
2023-12-28 13:11:28 -05:00
|
|
|
version='0.40.2',
|
2017-12-29 06:10:40 -05:00
|
|
|
description='Mastodon CLI client',
|
|
|
|
long_description=long_description.strip(),
|
2017-04-12 10:42:04 -04:00
|
|
|
author='Ivan Habunek',
|
|
|
|
author_email='ivan@habunek.com',
|
|
|
|
url='https://github.com/ihabunek/toot/',
|
2019-02-13 07:14:05 -05:00
|
|
|
project_urls={
|
2023-03-03 10:54:40 -05:00
|
|
|
'Documentation': 'https://toot.bezdomni.net/',
|
2019-02-13 07:14:05 -05:00
|
|
|
'Issue tracker': 'https://github.com/ihabunek/toot/issues/',
|
|
|
|
},
|
2017-04-12 10:42:04 -04:00
|
|
|
keywords='mastodon toot',
|
2017-12-12 05:41:03 -05:00
|
|
|
license='GPLv3',
|
2017-04-12 10:42:04 -04:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 4 - Beta',
|
2019-02-13 07:14:05 -05:00
|
|
|
'Environment :: Console :: Curses',
|
|
|
|
'Environment :: Console',
|
2017-05-08 03:17:32 -04:00
|
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
2017-04-12 10:42:04 -04:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
],
|
2023-12-05 02:52:12 -05:00
|
|
|
packages=['toot', 'toot.cli', 'toot.tui', 'toot.tui.richtext', 'toot.utils'],
|
2023-06-22 05:51:25 -04:00
|
|
|
python_requires=">=3.7",
|
2017-08-26 09:56:41 -04:00
|
|
|
install_requires=[
|
2023-11-26 12:00:57 -05:00
|
|
|
"click~=8.1",
|
2017-08-26 09:56:41 -04:00
|
|
|
"requests>=2.13,<3.0",
|
|
|
|
"beautifulsoup4>=4.5.0,<5.0",
|
2022-11-12 03:26:31 -05:00
|
|
|
"wcwidth>=0.1.7",
|
2019-08-24 05:20:31 -04:00
|
|
|
"urwid>=2.0.0,<3.0",
|
2023-06-24 11:29:11 -04:00
|
|
|
"tomlkit>=0.10.0,<1.0"
|
2017-08-26 09:56:41 -04:00
|
|
|
],
|
2023-09-28 14:22:59 -04:00
|
|
|
extras_require={
|
2023-11-18 16:16:37 -05:00
|
|
|
# Required to display rich text in the TUI
|
|
|
|
"richtext": [
|
|
|
|
"urwidgets>=0.1,<0.2"
|
|
|
|
],
|
|
|
|
"dev": [
|
|
|
|
"coverage",
|
|
|
|
"pyyaml",
|
|
|
|
"twine",
|
|
|
|
"wheel",
|
|
|
|
],
|
|
|
|
"test": [
|
|
|
|
"flake8",
|
|
|
|
"psycopg2-binary",
|
|
|
|
"pytest",
|
|
|
|
"pytest-xdist[psutil]",
|
|
|
|
"setuptools",
|
|
|
|
"vermin",
|
2023-12-05 03:15:39 -05:00
|
|
|
"typing-extensions",
|
2023-11-18 16:16:37 -05:00
|
|
|
],
|
2023-09-28 14:22:59 -04:00
|
|
|
},
|
2017-04-12 10:42:04 -04:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2023-11-26 12:00:57 -05:00
|
|
|
'toot=toot.cli:cli',
|
2017-04-12 10:42:04 -04:00
|
|
|
],
|
2020-01-23 07:14:02 -05:00
|
|
|
}
|
2017-04-12 10:42:04 -04:00
|
|
|
)
|