pythonloc icon indicating copy to clipboard operation
pythonloc copied to clipboard

drop-in Python replacement that imports packages from local directory (attempt at PEP 582 implementation)

Results 8 pythonloc issues
Sort by recently updated
recently updated
newest added

As discussed in https://discuss.python.org/t/pep-582-python-local-packages-directory/963, switching the contents of `__pypackages__` to be a collection of venvs that are automatically recognized will leverage and interoperate with existing tools well.

In piploc, why you are adding `--system` args for pip version starts from 9 and 10, if 10 has none of it and thus fails?

Is this expected? ```bash antoine@elune /tmp/tmp.ucyPsHjPcy/untrusted_code % cat /usr/bin/grep.py #!/usr/bin/env python3 import os print('Running grep.') ``` ```bash antoine@elune /tmp/tmp.ucyPsHjPcy/untrusted_code % cat os.py print('MALICIOUS') ``` ```bash antoine@elune /tmp/tmp.ucyPsHjPcy/untrusted_code % pythonloc /usr/bin/grep.py...

I've installed pythonloc on my macOS laptop, running Python 3.7 installed via [homebrew](https://brew.sh/): $ python3 --version ``` Python 3.7.2 ``` $ pip3 list ``` Package Version --------------- ------- greenlet 0.4.15...

Just as a point of information, the `--target` option to pip doesn't work with `--upgrade`, so `piploc -U` won't work as expected. Demonstration: ``` >py -m pip install -t xxx...

Pipenv is an official tool supported by pypa And to my best understanding serves a similar idea in a different way. Could you please describe the pros and cons of...

When freezing dependencies, requiring hashes would make environment recreation deterministic.