witchie/setup.py

68 lines
1.8 KiB
Python

#!/usr/bin/env python
from setuptools import setup
long_description = """
Witchie is a CLI and TUI tool for interacting with Akkoma instances from the
command line.
Allows posting text and media to the timeline, searching, following, muting
and blocking accounts and other actions.
"""
setup(
name='witchie',
version='0.39.0',
description='Akkoma CLI client',
long_description=long_description.strip(),
author='Ngô Ngọc Đức Huy',
author_email='huyngo@disroot.org',
url='https://git.sr.ht/~huyngo/witchie/',
project_urls={
'Documentation': 'https://man.sr.ht/~huyngo/witchie/',
'Issue tracker': 'https://todo.sr.ht/~huyngo/witchie/',
},
keywords='akkoma',
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=['witchie', 'witchie.tui', 'witchie.tui.richtext', 'witchie.utils'],
python_requires=">=3.7",
install_requires=[
"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",
],
},
entry_points={
'console_scripts': [
'witchie=witchie.console:main',
],
}
)