I\'m in the process of redesigning/refactoring my Python quantum chemistry package (pyquante). One of the things I don\'t like about the existing release is that I have to insta
Create a proper package for your stuff and use
python setup.py develop
to make it a proper dev-package.
See:
I would honestly insist on using virtualenv, its designed for this exact reason in mind. very small overhead, and if you ever mess up just delete directory. I am sure as you grow, things won't be as simple as they are now for your current situation. Take it as an opportunity to learn.
Altering sys.path
much in production environment may be unwise. Altering it for testing is usually OK.
If you don't want to tinker with the variable from sys
, use an environment variable named PYTHONPATH
, it's a clean and documented way.