1

I have tried using the jython setup.py install on my computer and its not working. And how to install ez_setup.py on jython or is there another way to setup django on jython

Thank you in advance.

Games Brainiac
  • 80,178
  • 33
  • 141
  • 199

1 Answers1

3

This tutorial shows you how to install it. Ideally everything boils down to two points:

  1. First you need to get pip, here is a good tutorial on how that is done. If you don't want to read that, you can simply download pip from here. After that, you will need to extract it, I suggest 7-zip. After that, you can go into the directory and find setup.py. Run setup.py like jython setup.py install -> this might be different.
  2. After that, you can do something like pip install django, and it should work if jython is your own python interpreter. Otherwise, you are going to have to go into your jython directory, then go into a directory called scripts. Then run pip.exe install django if you're running on windows.

Please note, that my advice is from that of a Windows user, so your experience might be different, and probably a lot more pleasant.

Community
  • 1
  • 1
Games Brainiac
  • 80,178
  • 33
  • 141
  • 199
  • 2
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – S.L. Barth is on codidact.com Jul 23 '13 at 15:57
  • @S.L.Barth: I did that for two reasons. First because there is a a page dedicated on the django site for doing exactly what he's asking. So it might encourage looking over the documentation in the future. Secondly, If that link goes down, then a lot of the django answers here are in jeopardy since they point to specific points in the django documentation. But, your recommendation is taken into consideration of course. – Games Brainiac Jul 23 '13 at 16:00
  • 2
    I understand your point, but this issue has been [discussed before](http://meta.stackexchange.com/questions/8231/are-answers-that-just-contain-links-elsewhere-really-good-answers). Link only answers are not good answers, and are subject to deletion (as: http://stackoverflow.com/help/deleted-answers). – femtoRgon Jul 23 '13 at 16:27