Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pip_install_editable.py')
-rwxr-xr-xtools/pip_install_editable.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/pip_install_editable.py b/tools/pip_install_editable.py
new file mode 100755
index 000000000..35cc2264d
--- /dev/null
+++ b/tools/pip_install_editable.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# pip installs packages in editable mode using certbot-auto's requirements file
+# as constraints
+
+from __future__ import absolute_import
+
+import sys
+
+import pip_install
+
+def main(args):
+ new_args = []
+ for arg in args:
+ new_args.append('-e')
+ new_args.append(arg)
+
+ return pip_install.main(new_args)
+
+if __name__ == '__main__':
+ sys.exit(main(sys.argv[1:]))