from distutils.core import setup # 使用说明 # 执行以下命令 # python3 setup.py build # python3 setup.py sdist(这一个就可以了) # 在dist文件夹压缩包中。 # 详解:https://www.cnblogs.com/lyrichu/p/6818008.html setup( name="siew9468", version="1.0", author="Andy9468", description="Andy9468's module", py_modules=['run'], # 根目录下的run.py。siew下的main.py,写作siew.main packages=[ # 导入包下的所有*.py文件 'siew', 'siew.analysis', 'siew.analysis.cut_word', 'siew.analysis.parse_field', 'siew.collection', 'siew.collection.scrapy_FB', 'siew.collection.scrapy_FB.scrapy_FB', 'siew.collection.scrapy_FB.scrapy_FB.spiders', 'siew.conf', 'siew.DB', 'siew.show', 'siew.third_plugin', 'siew.util', 'doc' ], data_files=[( # 导入非py文件 '', [ 'doc/FQA.md', 'doc/introduce.md', 'doc/version_notes.md', 'siew/collection/scrapy_FB/scrapy.cfg', 'requirements.txt', 'README.md', 'python_test.sql', ] )] )
项目发布