How can I use jython setup.py install?

前端 未结 2 1030
无人及你
无人及你 2021-01-16 06:24

I am using a Jython virtualenv where I can install whatever software via pip or via easy_install, but there is a software that is not registered yet and the installation mod

2条回答
  •  轮回少年
    2021-01-16 06:52

    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.

提交回复
热议问题