JAVA网络爬虫
HttpClient

导航

 

1.在你的文件夹下建立的setup的.py文件
2.在里面写内容
from distutils.core import setup
包名 版本 说明 作者 发布的包下的模块
setup(name = “xiaoGe”,version=“1.0”,description=“xiaoGe’s module”,author=“xiaoGe”,py_modules=[‘TestMsg.sendmsg’, ‘TestMsg.recvmsg’])
3.保存
4.python3 setup.py build 构建模块
5.python3 setup.py sdist 生成发布压缩包
6.sudo python3 setup.py install 安装在python3的模块库里

posted on 2019-08-26 21:47  gmlgxx  阅读(48)  评论(0)    收藏  举报