|
|
@ -5,13 +5,7 @@ import catcli
|
|
|
|
|
|
|
|
|
|
|
|
readme = 'README.md'
|
|
|
|
readme = 'README.md'
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
|
|
|
|
read_readme = lambda f: open(f, 'r').read()
|
|
|
|
try:
|
|
|
|
|
|
|
|
from pypandoc import convert_file
|
|
|
|
|
|
|
|
read_readme = lambda f: convert_file(f, 'rst')
|
|
|
|
|
|
|
|
except ImportError:
|
|
|
|
|
|
|
|
print('\n[WARNING] pypandoc not found, could not convert \"{}\"\n'.format(readme))
|
|
|
|
|
|
|
|
read_readme = lambda f: open(f, 'r').read()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VERSION = catcli.__version__
|
|
|
|
VERSION = catcli.__version__
|
|
|
|
REQUIRES_PYTHON = '>=3'
|
|
|
|
REQUIRES_PYTHON = '>=3'
|
|
|
@ -22,8 +16,13 @@ setup(
|
|
|
|
|
|
|
|
|
|
|
|
description='The command line catalog tool for your offline data',
|
|
|
|
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',),
|
|
|
|
url='https://github.com/deadc0de6/catcli',
|
|
|
|
url='https://github.com/deadc0de6/catcli',
|
|
|
|
download_url = 'https://github.com/deadc0de6/catcli/archive/v'+VERSION+'.tar.gz',
|
|
|
|
download_url = 'https://github.com/deadc0de6/catcli/archive/v'+VERSION+'.tar.gz',
|
|
|
|
|
|
|
|
options={"bdist_wheel": {"python_tag": "py3"}},
|
|
|
|
|
|
|
|
# include anything from MANIFEST.in
|
|
|
|
|
|
|
|
include_package_data=True,
|
|
|
|
|
|
|
|
|
|
|
|
author='deadc0de6',
|
|
|
|
author='deadc0de6',
|
|
|
|
author_email='deadc0de6@foo.bar',
|
|
|
|
author_email='deadc0de6@foo.bar',
|
|
|
|