Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pip's --target #2752

Closed
henryiii opened this issue Apr 1, 2024 · 3 comments
Closed

Support pip's --target #2752

henryiii opened this issue Apr 1, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@henryiii
Copy link
Contributor

henryiii commented Apr 1, 2024

The recipe for making a Python zipapp is something like this:

$ mkdir tmp
$ pip install --no-compile --target=tmp . dep_1 dep_2
$ cd tmpdir
$ python -m zipapp --compress --python=/usr/bin/env python3 --main=myapp.__main__:main --output=../myapp.pyz

However, uv is missing the --target option from pip. It would also be nice (for implementing this in a cross-installer way, inside something like nox) if --no-compile as a no-op in UV, rather than an error.

@zanieb
Copy link
Member

zanieb commented Apr 1, 2024

This is a duplicate of #1517, could you chime in there instead?

@zanieb zanieb closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2024
@zanieb zanieb added the duplicate This issue or pull request already exists label Apr 1, 2024
@zanieb
Copy link
Member

zanieb commented Apr 1, 2024

Regarding --no-compile we can definitely do that we have other arguments like that, that would be better tracked in a separate issue.

@henryiii
Copy link
Contributor Author

henryiii commented Apr 2, 2024

I thought I searched - okay, thanks, did that. Also opened #2771 for --no-compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants