How can I use jython setup.py install?

与世无争的帅哥 提交于 2019-12-01 12:40:32
jfs

If pip "works" then you could use it to install your software. To try it, run from a directory with setup.py:

$ pip install -e .

If you have a tarball of the package:

$ pip install your_package-0.0.1.tar.gz

pip can install from a git repository, use custom urls from where to get packages, etc.

I've tested it: jython works with virtualenv, distribute (a fork of setuptools), pip. So jython can install a package if it uses setuptools in setup.py.

Basically you need to install the installtool first. To do so see the doc linked below.

install this: http://peak.telecommunity.com/dist/ez_setup.py

(see here:http://www.jython.org/jythonbook/en/1.0/appendixA.html#setuptools)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!