mirror of
https://github.com/ihabunek/toot
synced 2024-12-23 15:37:47 +01:00
71 lines
1.9 KiB
Python
71 lines
1.9 KiB
Python
#!/usr/bin/env python
|
|
|
|
from setuptools import setup
|
|
|
|
long_description = """
|
|
Toot is a CLI and TUI tool for interacting with Mastodon instances from the
|
|
command line.
|
|
|
|
Allows posting text and media to the timeline, searching, following, muting
|
|
and blocking accounts and other actions.
|
|
"""
|
|
|
|
setup(
|
|
name='toot',
|
|
version='0.40.0',
|
|
description='Mastodon CLI client',
|
|
long_description=long_description.strip(),
|
|
author='Ivan Habunek',
|
|
author_email='ivan@habunek.com',
|
|
url='https://github.com/ihabunek/toot/',
|
|
project_urls={
|
|
'Documentation': 'https://toot.bezdomni.net/',
|
|
'Issue tracker': 'https://github.com/ihabunek/toot/issues/',
|
|
},
|
|
keywords='mastodon toot',
|
|
license='GPLv3',
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Environment :: Console :: Curses',
|
|
'Environment :: Console',
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
|
'Programming Language :: Python :: 3',
|
|
],
|
|
packages=['toot', 'toot.cli', 'toot.tui', 'toot.tui.richtext', 'toot.utils'],
|
|
python_requires=">=3.7",
|
|
install_requires=[
|
|
"click~=8.1",
|
|
"requests>=2.13,<3.0",
|
|
"beautifulsoup4>=4.5.0,<5.0",
|
|
"wcwidth>=0.1.7",
|
|
"urwid>=2.0.0,<3.0",
|
|
"tomlkit>=0.10.0,<1.0"
|
|
],
|
|
extras_require={
|
|
# 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",
|
|
"typing-extensions",
|
|
],
|
|
},
|
|
entry_points={
|
|
'console_scripts': [
|
|
'toot=toot.cli:cli',
|
|
],
|
|
}
|
|
)
|