mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
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
17 lines
314 B
Python
Executable file
17 lines
314 B
Python
Executable file
#!/usr/bin/env python
|
|
# pip installs packages in editable mode using pip_install.py
|
|
import sys
|
|
|
|
import pip_install
|
|
|
|
|
|
def main(args):
|
|
new_args = []
|
|
for arg in args:
|
|
new_args.append('-e')
|
|
new_args.append(arg)
|
|
|
|
pip_install.main(new_args)
|
|
|
|
if __name__ == '__main__':
|
|
main(sys.argv[1:])
|