libero / python-project-poc

Proof of concept for Libero python projects going forward
MIT License
0 stars 1 forks source link

[wip] expose virtualenv #13

Open de-code opened 5 years ago

de-code commented 5 years ago

With this change it would expose the virtualenv as .venv. Additionally it allows to change the project dir, that is because unfortunately files within the venv have the path hard-coded.

Now I can run:

export PROJECT_DIR=$PWD
make build

As the directory is not mounted during docker build, I moved the poetry install to make build. The consequence is that make start without having run make build won't work (but we could make that work if necessary).