installation - Best way to install python packages locally for development -


Due to being new to dragon games, I think how you can develop a program but have missed out on some knowledge, but also keeping in mind that

This is in your living environment.

Programs like gpodder can be run directly from the source checkout which is really easy, but others want to "install" to run.

A lot of programs are distributed with a setup.py with the instructions to run "Python ./setup.py install" as the root, which will place anything in your file system Will also put. Even commands such as "development" can also be established that catch the promise of what I want. So I tried:

export PYTHONPATH = / home / alex / python python ./setup.py development --install - dir = / home / alex / python

who locally download a bunch of stuff and magically ensure that the app I am hacking is still running out of the SRT tree. So I think the question of roundabout is that is this the right way to develop Python code? How easy_install and pip factor works like this in?

Add edit

So I tried the following:

  Python / Sugarcane / Shell / Square / Virtual / Home / Alex / src / goobook CD / Home / Black / SRC / Geobook / Gogic. Git / home / alex / src / goobook / bin / python    

However, the invoke increases load of additional gossip, which indicates that this is wrong:

  17:17 alex @ socrates / i686 [goobook]> goobook - - Help / home / alex / bin / goobook: 5: User Alert: module pkg_resources already /home/alex/src/goobook/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg Imported /pkg_resources.py, but /home/alex/src/goobook/lib/python2.5/site-packages/distribute-0.6.10-py2.5.egg being added to sys.path pkg_resources Import load_entry_point / home / alley X / Bin / Gobook: 5: User Warning: The M-Odule site was already imported from /home/alex/src/goobook/lib/python2.5/site.pyc, but / home / alex / src / goobook / Lib / python2.5 / site-packages / distribute-0.6.10 -py2.5.egg being added to sys.path. Pkg_resources import_load_entry_point  

That means "easy_install" to install new things


Comments