pull/30/head
deadc0de6 1 year ago
parent bb0835cd46
commit bdf05e9322

@ -1,25 +1,31 @@
from setuptools import setup, find_packages
from codecs import open
"""setup.py"""
from os import path
from setuptools import setup, find_packages
import catcli
readme = 'README.md'
README = 'README.md'
here = path.abspath(path.dirname(__file__))
read_readme = lambda f: open(f, 'r').read()
VERSION = catcli.__version__
VERSION = catcli.version.__version__
REQUIRES_PYTHON = '>=3'
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'
setup(
name='catcli',
version=VERSION,
description='The command line catalog tool for your offline data',
long_description=read_readme(readme),
long_description=read_readme(README),
long_description_content_type='text/markdown',
license_files = ('LICENSE',),
license_files=('LICENSE',),
url='https://github.com/deadc0de6/catcli',
download_url = 'https://github.com/deadc0de6/catcli/archive/v'+VERSION+'.tar.gz',
download_url=URL,
options={"bdist_wheel": {"python_tag": "py3"}},
# include anything from MANIFEST.in
include_package_data=True,

Loading…
Cancel
Save