I need to install a Python module into a
project directory and
not into a systemwide "site-packages" directory. (Only a select few have root access and we will never get it.)
In some cases I've been able to add a section to "setup.cfg" like
Code:
[easy_install]
install_dir = /home/project/python-modules
and making sure that the PYTHONPATH includes "/home/project/python-modules". Then, running
Code:
python setup.py install
would neatly place the module into the target directory.
Now I've got the sources for a module that does not include a "setup.cfg" file. I've tried creating one that includes the "install_dir" directive I showed above. Unfortunately, the build command returns a message that seems to indicate that the build process is not even looking at my "setup.cfg" and proceeds to try and install the module in the systemwide module location.
Question:
Ideas on how to override this default setting?
TIA...
--
Rick