mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #749 from ncoghlan/patch-2
Issue #748: cover the --site-packages option
This commit is contained in:
@@ -377,3 +377,21 @@ To enable completion in fish, add this to your config::
|
||||
Magic shell completions are now enabled!
|
||||
|
||||
✨🍰✨
|
||||
|
||||
☤ Working with platform-provided Python components
|
||||
--------------------------------------------------
|
||||
|
||||
It's reasonably common for platform specific Python bindings for
|
||||
operating system interfaces to only be available through the system
|
||||
package manager, and hence unavailable for installation into virtual
|
||||
environments with `pip`. In these cases, the virtual environment can
|
||||
be created with access to the system `site-packages` directory::
|
||||
|
||||
$ pipenv --three --site-packages
|
||||
|
||||
To ensure that all `pip`-installable components actually are installed
|
||||
into the virtual environment and system packages are only used for
|
||||
interfaces that don't participate in Python-level dependency resolution
|
||||
at all, use the `PIP_IGNORE_INSTALLED` setting::
|
||||
|
||||
$ PIP_IGNORE_INSTALLED=1 pipenv install --dev
|
||||
|
||||
Reference in New Issue
Block a user