[EMAIL PROTECTED] a écrit : > I'm just beginning to create some python modules for my own use and > I'm wondering where to put them. Initially I have put them in > $HOME/bin and I have set PYTHONPATH to point to them there. It all > seems to be OK but I was wondering if I might be storing up problems > for the future by putting python modules in with my odds and sods of > shell scripts etc. (and with my python 'main' scripts). > > Would I be better off putting the modules somewhere else, e.g. > somewhere like $HOME/lib/python? >
If you're on a shared system and don't have admin access, this last solution is probably the best - "pure" modules have nothing to do in a bin/ directory indeed. Now if it's your own computer, why not just put them in /path/to/python/libs/site-packages ? -- http://mail.python.org/mailman/listinfo/python-list