现在的位置: 首页 > PyPI
0℃
2013年08月04日 程序设计 ⁄ 被围观 3,144+
我们都知道发布Python模块的时候需要准备几份文件,其中就包括了setup.py和requirements.txt,这两份文件中都需要填写待发布模块的依赖关系,那么是不是这样就会出现信息的重复,维护起来也不方便呢? 如下的文章解释了这两个文件中重复信息的不同功用,前者为“虚引用”,后者为“具体引用”,那么他们利用的场合和背后的机制是什么样子的,马上就会知晓了。 There's a lot of misunderstanding between setup.py and requirements.txt and their roles. A lot of people have felt they are duplicated information ...
阅读全文
0℃
2013年08月03日 程序设计 ⁄ 被围观 3,401+
怎么样打包自己的Python模块,并且分享到PyPI,相信下面的文章会给你一个满意的答案! A completely incomplete guide to packaging a Python module and sharing it with the world on PyPI. Abstract Few things give me caremads like Python modules I want to use that aren’t on PyPI (pronounced “pie pee eye”, or “cheese shop”, not “pie pie”!). On the other hand – aspydanny points out – the current situation on packaging is rather confusing. Therefore I want to help everyone who has some...
阅读全文
×
腾讯微博