Open jonsterling opened 6 years ago
Use a requirements.txt and list all libraries in there one-per-line.
Users can then install via pip install -r requirements.txt
. This has the added advantage that that the pip command stays the same regardless of how many libraries you add. Putting a list of requirements in your setup.py will functionally do the same thing.
If you want to setup your program via a series of commands, you may want to look into using a Makefile.
I would check out https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/index.html if you have time. It's comprehensive and up-to-date.
Also, if you want to read good code, check out https://github.com/requests/requests. It's one of the best written python modules.
I don't know anything about how Python's package ecosystem or infrastructure works, but I'm pretty sure that "manually install
urwid
and then move these.py
files into yourPATH
" is not how python applications are meant to be installed :laughing: