from setuptools import setup, find_packages
setup(
name='example_project',
version=1.0,
author='Eureca',
author_email='ustczhng2012@163.com',
url='',
description='this is a test project',
license="MIT",
python_requires='>=3',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
# 搜索该工程目录(test1/)下所有的包,包括子包。发布的包所依赖的其他包也要发布,否则会出现no module found问题
packages=find_packages(),
# 当上述要发布的包不是采用find_packages,而是自己命名制定的,这时需要用package_Dir字典指明你要发布的包对应代码中哪个目录,以根目录为基准
package_dir={},
# 如果没有包,需要发布模块,通过下面这个参数指定
py_modules=[],
# 所有包目录下被版本控制软件管理起来的文件
include_package_data=True,
# 所有包目录下未被版本控制软件管理起来的文件
package_data={'': ['*.yaml']},
# 某个包下哪些文件不要打包进去,这里以yolo包为例
exclude_package_data={'example': ['app.js']},
install_requires=[],
entry_points={'console_scripts': [
'print_func=a:print_func'
]}
)