diff options
| author | Väinö Järvelä <vaino@jarve.la> | 2019-04-06 07:39:33 +0300 |
|---|---|---|
| committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-04-11 07:59:36 +0200 |
| commit | 11d491dce56b964dffd0175f891299bee646501d (patch) | |
| tree | 7d632063a7385a7a323da16cd67cfbab4e342f6c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 99eddf32dca502ea35589c4e2faf847e373c8f44 (diff) | |
pipenv: Ignore Python site-packages
pipenv nix wrapper contains a PYTHONPATH which has some dependencies
for pipenv installed. pipenv by default uses site-packages when
resolving packages, which means that any package that is included in
the nix wrapper is satisfied when running `pipenv install`.
But when the actual virtualenv created by pipenv is activated, it
doesn't contain those packages anymore and fails to import them.
pipenv has a flag PIP_IGNORE_INSTALLED which can be used to ignore
site-packages. Which fixes the problem of having different resolved
packages when running pipenv and when running the virtualenv.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
