[問題] 在eclipse PyDev 建立distribution
小弟是看Head First Pthon的書在自學
但是在PyDev上似乎不能直接建立套件?
在Stackoverflow上找到的類似問題是這樣
Q:
How to create a python distribution package in Eclipse pyDev?
Using the Pydev plugin I can create packages that work well within Eclipse.
However, I want to create packages that I can import in other environments.
How would I proceed to do that? (any chance I can just right click the
package name in eclipse, and "export to package? :))
A:
What does export to package mean for you? If you just take the package, the
way it is and copy it to site-packages it will work out of the box, in
principle.
What you probably want is something like python setup.py bdist. AFAIK, you've
got to do this by hand. (And it's easy, really!)
後來查到http://docs.python.org/py3k/distutils/builtdist.html
但是依然不解要怎麼發行套件QQ
想請問,在建構套件之後,要怎麼才能發行與安裝呢?
我用的是Python3.2
--
在家當宅宅,在外假正經;
常常都在人格分裂的狀態阿
http://joepspsps2.blogspot.com/
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.249.211.121
推
07/16 09:28, , 1F
07/16 09:28, 1F
→
07/16 10:43, , 2F
07/16 10:43, 2F
→
08/09 13:45, , 3F
08/09 13:45, 3F