Skip to content

Improve thirdparty utilities - #2564

Merged
pombredanne merged 104 commits into
developfrom
improve-thirdparty-utilities
Jun 17, 2021
Merged

pombredanne merged 104 commits into
developfrom
improve-thirdparty-utilities

Conversation

@pombredanne

@pombredanne pombredanne commented Jun 17, 2021

Copy link
Copy Markdown
Member

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

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

wolever and others added 30 commits December 21, 2011 15:23
--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
Scripts now work in Windows.
Fall back to copying files when OS doesn't support symlinking.
wolever and others added 27 commits September 21, 2016 16:32
…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>
@pombredanne

Copy link
Copy Markdown
Member Author

Green! merging!

@pombredanne
pombredanne merged commit c8cf696 into develop Jun 17, 2021
@pombredanne
pombredanne deleted the improve-thirdparty-utilities branch June 17, 2021 21:09
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

Successfully merging this pull request may close these issues.