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

Add option for pipx instead of pip #19

Open
nstarman opened this issue Nov 16, 2023 · 5 comments
Open

Add option for pipx instead of pip #19

nstarman opened this issue Nov 16, 2023 · 5 comments

Comments

@nstarman
Copy link

nstarman commented Nov 16, 2023

Probably low priority, but would be nice if there were an option for pipx instead of pip.

run: python -m pip install pip build twine --upgrade

@Cadair
Copy link
Member

Cadair commented Nov 29, 2023

What would the advantage of that be in an isolated environment like this?

@nstarman
Copy link
Author

Compatability with the framework being developed in https://github.com/scientific-python/cookie for testing.

@Cadair
Copy link
Member

Cadair commented Nov 29, 2023

Can you explain that a bit more? It feels unhelpful to layer more venv tools ontop of an already isolated env, but I don't know much about this

@nstarman
Copy link
Author

nstarman commented Dec 1, 2023

At Astropy we've stopped supporting our own package template in favor of the scientific-python package guide. They have developed https://github.com/scientific-python/cookie. It would be great to increase compatibility with their work, since we officially endorse it. I would be happy however that happens, so I opened this PR to start requesting support for some differences I noticed between our testing frameworks (another is nox versus tox).

https://github.com/scientific-python/cookie/blob/main/{{cookiecutter.project_name}}/.github/workflows/ci.yml

@astrofrog
Copy link
Contributor

So do you mean we would run tox/nox using pipx rather than pip install tox and run it separately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants