Add option to install dependencies to the system site packages
See original GitHub issueIt is not always easy to have some packages installed inside the virtualenv + having the virtualenv inside the docker container, which only runs your app, makes no sense.
It would be nice to have an option i.e. --system
to deploy your package right inside the system without venv.
Now solving it in a stupid way:
RUN mkdir -p /root/.cache/pypoetry/virtualenvs/phex-recutech-mcs-py3.6/lib/python3.6
RUN ln -sf /usr/local/lib/python3.6/site-packages /root/.cache/pypoetry/virtualenvs/phex-recutech-mcs-py3.6/lib/python3.6
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Installing packages using pip and virtual environments
Installing packages using pip and virtual environments¶. This guide discusses how to install packages using pip and a virtual environment manager: either ...
Read more >Installing local packages with Python virtualenv --system-site ...
What I would like to do is create a virtualenv that "inherits" the system packages installed via yum but allows me to pip...
Read more >Using Python's pip to Manage Your Projects' Dependencies
By chaining the packages rptree and codetiming in the pip install command, you install both packages at once. You can add as many...
Read more >How to Package Python dependencies with PIP setuptools
Learn step by step how to package a Python project with PIP setuptools and what are the alternatives out there for Python package...
Read more >pip install - pip documentation v22.3.1
Each item identified is added to the set of requirements to be satisfied by ... pip offers a number of package index options...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For those who find here later, the config command worked for me was:
You can disable the automatic creation of virtualenvs by using: