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 wheel build tag regexes #19

Open
graingert opened this issue May 13, 2016 · 7 comments
Open

support wheel build tag regexes #19

graingert opened this issue May 13, 2016 · 7 comments

Comments

@graingert
Copy link

graingert commented May 13, 2016

eg:

hashin "numpy==1.11.0" --expression="cpy35.*-macosx.*x86_64"

will include

  • numpy-1.11.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
  • numpy-1.11.0.tar.gz
@graingert graingert changed the title support wheel build tags support wheel build tag regexes May 13, 2016
@peterbe
Copy link
Owner

peterbe commented Aug 25, 2016

What will that not include?

@graingert
Copy link
Author

numpy-1.11.1-cp27-cp27mu-manylinux1_x86_64.whl
numpy-1.11.1.zip
Django-1.10rc1-py2.py3-none-any.whl

etc etc

@peterbe
Copy link
Owner

peterbe commented Aug 29, 2016

How about this for a crazy idea, instead of an advanced --build-tag regex looking thing, how about you run it like this:

$ hashin --interactive "numpy==1.11.0"
Keep "numpy-1.11.0.tar.gz"? [Y/n] y
Keep "numpy-1.11.1.zip"? [Y/n] n
Keep "numpy-1.11.1-cp27-cp27mu-manylinux1_x86_64.whl"? [Y/n] y

@peterbe
Copy link
Owner

peterbe commented Aug 29, 2016

What do you think @mythmon @ahal ?

@graingert
Copy link
Author

I want it automatic though

@mythmon
Copy link
Contributor

mythmon commented Aug 29, 2016

I'm not a fan of the manual version, because I want a deterministic process I can put in my docs. On the other hand, I also don't think I'll be using any filtering more complex than Python version (which hashin already supports).

@graingert can you share some more details about your use case for this feature?

@graingert
Copy link
Author

@mythmon I want to be able to only install x86_64 manylinux1 builds.

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