You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
catcli/setup.py

65 lines
1.9 KiB
Python

1 year ago
"""setup.py"""
6 years ago
from os import path
1 year ago
from setuptools import setup, find_packages
1 year ago
from catcli import version
6 years ago
1 year ago
README = 'README.md'
6 years ago
here = path.abspath(path.dirname(__file__))
1 year ago
VERSION = version.__version__
REQUIRES_PYTHON = '>=3'
6 years ago
1 year ago
def read_readme(readme_path):
"""read readme content"""
with open(readme_path, encoding="utf-8") as file:
return file.read()
URL = f'https://github.com/deadc0de6/catcli/archive/v{VERSION}.tar.gz'
6 years ago
setup(
name='catcli',
6 years ago
version=VERSION,
6 years ago
description='The command line catalog tool for your offline data',
1 year ago
long_description=read_readme(README),
2 years ago
long_description_content_type='text/markdown',
1 year ago
license_files=('LICENSE',),
6 years ago
url='https://github.com/deadc0de6/catcli',
1 year ago
download_url=URL,
2 years ago
options={"bdist_wheel": {"python_tag": "py3"}},
# include anything from MANIFEST.in
include_package_data=True,
6 years ago
author='deadc0de6',
6 years ago
author_email='deadc0de6@foo.bar',
6 years ago
license='GPLv3',
6 years ago
python_requires=REQUIRES_PYTHON,
6 years ago
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
4 months ago
'Programming Language :: Python :: 3.11',
6 years ago
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
6 years ago
],
6 years ago
keywords='catalog commandline indexer offline',
packages=find_packages(exclude=['tests*']),
3 months ago
install_requires=['docopt', 'types-docopt', 'anytree',
'pyfzf', 'fusepy', 'natsort', 'cmd2',
'gnureadline'],
6 years ago
extras_require={
'dev': ['check-manifest'],
'test': ['coverage', 'pytest', 'pytest-cov'],
},
entry_points={
'console_scripts': [
'catcli=catcli:main',
],
},
)