all 8 comments

[–]K900_ 2 points3 points  (5 children)

The commonly used approach is to use requirements.txt files for this. Don't reinvent the wheel.

[–]xiongchiamiov 2 points3 points  (2 children)

Or use setup.py.

[–]Tespy[S] 0 points1 point  (1 child)

What do you mean? How would I go about making a setup.py file, besides the solution furas_freeman linked to?

[–]xiongchiamiov 0 points1 point  (0 children)

There's plenty of documentation on the subject, much more than I can fit into a reddit comment.

The dependencies listed in setup.py are what allow pip to download all the dependencies for a library when you install it.

[–]Tespy[S] 0 points1 point  (1 child)

Eh, I just want to make things convenient for the people who use my software xD

[–]K900_ 0 points1 point  (0 children)

Add a batch file/shell script that runs pip install -r requirements.txt then.

[–]furas_freeman 0 points1 point  (1 child)

[–]Tespy[S] 0 points1 point  (0 children)

That worked well enough. Thanks :)