How can I use jython setup.py install?

前端 未结 2 1007
无人及你
无人及你 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.

    0 讨论(0)
  • 2021-01-16 07:14

    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)

    0 讨论(0)
提交回复
热议问题