def setup_package():
command_options = {'test': {'test_suite': ('setup.py', 'tests')}}
setup(
name=NAME,
version=VERSION,
url=URL,
description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
license=LICENSE,
keywords=KEYWORDS,
classifiers=CLASSIFIERS,
test_suite='tests',
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
install_requires=[req for req in read('requirements.txt').split('\\n') if req != ''],
cmdclass={'test': PyTest, 'docker_up': DockerUpCommand, 'docker_down': DockerDownCommand},
tests_require=['pytest-cov', 'pytest'],
command_options=command_options,
entry_points={
'console_scripts': CONSOLE_SCRIPTS,
},
)
评论列表
文章目录