Commit 698e8de8 by Sébastien Eustace

Update get-poetry.py script

parent 50673f37
...@@ -197,7 +197,7 @@ class Installer: ...@@ -197,7 +197,7 @@ class Installer:
dist = os.path.join(dir, 'dist') dist = os.path.join(dir, 'dist')
print(' - Getting dependencies') print(' - Getting dependencies')
self.call( self.call(
'pip', 'install', 'poetry=={}'.format(version), 'python', '-m', 'pip', 'install', 'poetry=={}'.format(version),
'--target', dist '--target', dist
) )
...@@ -243,7 +243,7 @@ class Installer: ...@@ -243,7 +243,7 @@ class Installer:
) )
self.call( self.call(
'pip', 'install', 'python', '-m', 'pip', 'install',
'--upgrade', '--upgrade',
'--no-deps', '--no-deps',
os.path.join(dir, 'poetry-{}-{}.whl'.format(version, tag)) os.path.join(dir, 'poetry-{}-{}.whl'.format(version, tag))
......
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