ds4dm / ecole

Extensible Combinatorial Optimization Learning Environments
https://www.ecole.ai
BSD 3-Clause "New" or "Revised" License
319 stars 68 forks source link

Improve dev doc for running Ecole #280

Closed AntoinePrv closed 2 years ago

AntoinePrv commented 2 years ago

Pull request checklist

Proposed implementation

The PYTHONPATH example is set with the default directory changed in #267 .

AntoinePrv commented 2 years ago

I wonder, is it also possible to install the compiled binaries permanently using pip, instead of setting PYTHONPATH?

Yes, this is the part in the installation instructions:

If all dependencies (build time such as CMake and compiler, and run time such as NumPy) are already installed, as is the case when developping Ecole, one can install Ecole with:

python -m pip install --no-deps --no-build-isolation [ecole | git+https://github.com/ds4dm/ecole | .]

So in your case

python -m pip install --no-deps --no-build-isolation .