conda-incubator / conda-pypi

Better PyPI interoperability for the conda ecosystem
https://conda-incubator.github.io/conda-pypi/
MIT License
12 stars 1 forks source link

add EXTERNALLY-MANAGED #7

Closed jaimergp closed 6 months ago

jaimergp commented 8 months ago

Closes #1

In this PR, we are implementing the following behavior:

To do / discuss:

References:

jaimergp commented 7 months ago

I'm not too sure yet about writing the files directly to the target environment. It creates the opportunity for lingering files unless the user removes packages nicely. Maybe an alternative is to inject a fake conda-meta/externally-managed-1.0-py3xy.json metadata file that lists the EXTERNALLY-MANAGED file so it can be conda removed nicely. I'll leave that for a further issue.

jaimergp commented 7 months ago

Pinging @jezdez @pradyunsg for awareness / comments if time allows :)