Commit eec9a33b by Sébastien Eustace

Update get-poetry.py script

parent b2512ff0
...@@ -312,7 +312,10 @@ def main(): ...@@ -312,7 +312,10 @@ def main():
args = parser.parse_args() args = parser.parse_args()
installer = Installer(version=args.version, preview=args.preview) installer = Installer(
version=args.version or os.getenv("POETRY_VERSION"),
preview=args.preview or os.getenv("POETRY_PREVIEW"),
)
return installer.run() return installer.run()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment