from setuptools import setup, find_packages
setup(
name="HelloWorld",
version="0.1",
packages=find_packages(),
# scripts=['say_hello.py'],
package_data={
# 任何包中含有.txt文件,都包含它
'': ['*.html',"*.txt"],
# And include any *.msg files found in the 'hello' package, too:
# 'hello': ['*.msg'],
},
data_files=[("logs",["logs/tst.txt"])],
# include_package_data=True,
# metadata for upload to PyPI
author="Me",
author_email="[email protected]",
description="This is an Example Package",
license="PSF",
keywords="hello world example examples",
url="http://example.com/HelloWorld/", # project home page, if any
project_urls={
"Bug Tracker": "https://bugs.example.com/HelloWorld/",
"Documentation": "https://docs.example.com/HelloWorld/",
"Source Code": "https://code.example.com/HelloWorld/",
}
)
http://yansu.org/2013/06/07/learn-python-setuptools-in-detail.html
http://setuptools.readthedocs.io/en/latest/setuptools.html
https://blog.zengrong.net/post/2169.html