Hi all,

I am building NLOpt in Ubuntu 16.04 64 bits with the python extension for
the python3.5 interpreter that ships with ubuntu.

export PYTHON=python3
export PYTHON_CONFIG=python3.5-config
./configure --enable-shared

The python modules get installed in /usr/local/lib/python3.5/site-packages

This location is normally reserved for non-distribution provided python
interpreter, but the python3.5 I am using is provided by an Ubuntu packages
and has dist-packages in its search path not site-packages. The install
process should either detect that python3.5 sys.path contains
dist-packages. Or there should be a configure option to specify the
location of python extension modules.

What is the cleanest way to do this?

Thank you.

                 Bernard
_______________________________________________
NLopt-discuss mailing list
NLopt-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to