Improve thirdparty utilities - #2564
Merged
Merged
Conversation
--HG-- rename : dir2pypi => dir2pi
--HG-- rename : pip2pi/__init__.py => libpip2pi/__init__.py rename : pip2pi/commands.py => libpip2pi/commands.py
…er versions of pip --HG-- extra : rebase_source : 7b4449bfe43d6504981594d8d2e54197b832f97e
… string --HG-- extra : rebase_source : 7b5b540d6ab9d684e5125a5ab2d28f5740557451
--HG-- extra : rebase_source : 732a4edf547c74afd3587cc4651c721a4b1d8a62
dir2pi should generate an index.html file in the package dir
Use pkg_resources to parse egg names
…n't/can't do indexing)
Scripts now work in Windows.
Fall back to copying files when OS doesn't support symlinking.
…e deprecated `pip install --download` support. Among other changes, - Introduced a set of global variables named `pip_version`, `pip_download_command` and `pip_no_binary_command`. The variables `pip_download_command` and `pip_no_binary_command` are version dependent. - Now we are importing the `main()` method from `pip` (for pip<10.0.0) or from `pip._internal` (for pip>=10.0.0) as `pip_main`. - Introduced a new flag `has_pip` (pretty much like `has_wheel`) as a global flag to denote the presence of pip. - The help messages printed by the pip2pi parser now dynamically prints options for pip download and no-binary features based on installed pip version.
…ution of each pip command. When populated by one `pip_main` call, the variable remains in the environment properties for all subsequent calls, wreaking havoc since the directory is subsequently deleted. Should be removed once fixed in `pip`, but will remain until then. Also removed testing for py33 as pip 18.1 demands 3.4.
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Drop dep in pip Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This is no a simple pip2py standalone script that can do only one thing: generate a PyPI-like index from a directory of wheels and sdist tarballs. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Member
Author
|
Green! merging! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds a new tool to create a PyPI simple-like repo from
a Python wheels directory.
This is part of the investigations to speed up bootstrapping and CI tests
Tasks
Run tests locally to check for errors.