1
0
mirror of https://github.com/certbot/certbot.git synced 2025-08-02 07:26:35 +03:00
Files
certbot/tools/pipstrap.py
Brad Warren a78073812c Always "pipstrap" when running pip_install.py (#9658)
Fixes https://github.com/certbot/certbot/issues/7921.

In all cases when we run `pip_install.py`, we first run `pipstrap.py`. This PR combines these two steps for convenience and to make always doing that less error prone. This will also help me with some of the `tox.ini` refactoring I'm planning to do.

I ran the full test suite on everything and tested the release script changes locally.

This change shouldn't have any effect on cryptography's setup because they install `certbot[test]` which depends on pip, setuptools, and wheel.

* always pipstrap

* use pip_install.py during releases
2023-04-05 16:43:26 -07:00

12 lines
191 B
Python
Executable File

#!/usr/bin/env python
"""Uses pip to upgrade Python packaging tools to pinned versions."""
import pip_install
def main():
pip_install.pipstrap()
if __name__ == '__main__':
main()