2
1
mirror of https://github.com/deadc0de6/catcli synced 2024-11-09 19:10:27 +00:00
catcli/setup.py

63 lines
1.8 KiB
Python
Raw Normal View History

2023-03-07 21:37:09 +00:00
"""setup.py"""
2017-12-14 18:37:31 +00:00
from os import path
2023-03-07 21:37:09 +00:00
from setuptools import setup, find_packages
2017-12-14 18:37:31 +00:00
import catcli
2023-03-07 21:37:09 +00:00
README = 'README.md'
2017-12-14 18:37:31 +00:00
here = path.abspath(path.dirname(__file__))
2023-03-07 21:37:09 +00:00
VERSION = catcli.version.__version__
2018-04-11 08:19:46 +00:00
REQUIRES_PYTHON = '>=3'
2017-12-14 20:55:01 +00:00
2023-03-07 21:37:09 +00:00
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'
2017-12-14 18:37:31 +00:00
setup(
name='catcli',
2017-12-14 20:55:01 +00:00
version=VERSION,
2017-12-14 18:37:31 +00:00
description='The command line catalog tool for your offline data',
2023-03-07 21:37:09 +00:00
long_description=read_readme(README),
2022-07-08 12:29:17 +00:00
long_description_content_type='text/markdown',
2023-03-07 21:37:09 +00:00
license_files=('LICENSE',),
2017-12-14 18:37:31 +00:00
url='https://github.com/deadc0de6/catcli',
2023-03-07 21:37:09 +00:00
download_url=URL,
2022-07-08 12:29:17 +00:00
options={"bdist_wheel": {"python_tag": "py3"}},
# include anything from MANIFEST.in
include_package_data=True,
2017-12-14 18:37:31 +00:00
author='deadc0de6',
2017-12-14 21:17:38 +00:00
author_email='deadc0de6@foo.bar',
2017-12-14 18:37:31 +00:00
license='GPLv3',
2018-10-20 17:09:20 +00:00
python_requires=REQUIRES_PYTHON,
2017-12-14 20:55:01 +00:00
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.6',
2021-03-07 10:58:46 +00:00
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
2023-03-02 09:07:16 +00:00
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
2017-12-14 21:17:38 +00:00
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
2017-12-14 20:55:01 +00:00
],
2017-12-14 18:37:31 +00:00
keywords='catalog commandline indexer offline',
packages=find_packages(exclude=['tests*']),
install_requires=['docopt', 'anytree'],
2017-12-14 18:37:31 +00:00
extras_require={
'dev': ['check-manifest'],
'test': ['coverage', 'pytest', 'pytest-cov'],
},
entry_points={
'console_scripts': [
'catcli=catcli:main',
],
},
)