Ogen Ogen - 3 months ago 27
Python Question

Install git python library through python regardless of OS

I have developed a tool that my team can use after running the

script. The tool requires this library: https://github.com/c2nes/javalang

How can I make my python setup script install this library on their computer regardless of what OS they are on. They can't run my tool without that library (Some people are on windows, mac, and linux.)


pip can install projects on Github as a dependency too!

All you need to do is, in your requirements.txt, add a line like following:


then install the dependency using:

$ pip install -r requirements.txt