pypi-install improvements: --build-here, pypi.search #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Today I found pypi-install. There's a big gap between "
pypi-install
takes a first draft try, installs it, and throws away the intermediate steps" and "you have to glue all of the pieces together by hand". In an attempt to narrow that gap, I added--build-here
-- creates a directory from the package name, and keeps all of the intermediate results (tells the user where to find the .deb in the end, but doesn't attempt to install it.) Also improves the Quickstart 1 warnings;pypi-install
was a "dead end" on the path to good packages,pypi-install --build-here
is a "first draft" that you can then polish.pypi.search
-- lots of packages have StudlyCaps names, which only get in the way; in particular,MANIFEST.in
files use the all-lower-case names. If the direct lookup fails, this change just does apypi.search
and sanity checks it a bit. Works perfectly with StudlyCaps vs. lower-case; if it finds more matches, it stops and makes the user pick from the results.I'll see what else I can do to improve the workflow; my main approach is going to be that "I saw something new at a pycon lightning talk, it's up on pypi, how easily can I get good packages together on my debian system?" "How easily can I share them" will probably be the next step.