marcovirgolin / gpg

Re-implementation of GP-GOMEA that attempts to be simpler to understand and use than the original.
MIT License
10 stars 1 forks source link

modular install #16

Open lacava opened 8 months ago

lacava commented 8 months ago

hello,

it looks like gpgomea gets installed as a local/user install in the Makefile, which makes it not possible to restore it from a cached environment, e.g., https://github.com/cavalab/srbench/actions/runs/7648179417/job/20840521374

is there a way to get it to install everything into the conda environment so that can be restored without re-installing?

marcovirgolin commented 4 months ago

Hi, you think it's about line 14 in the Makefile python setup.py install --user --force && ..., specifically --user?

Or I wonder if the problem might be that the .so is copied in the python pkg prior to installing, instead of being the outcome of setup.py. In which case, I feel like setup.py should call make and not vice versa.