mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
use dashes for pep 508 specifiers
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+2
-2
@@ -498,7 +498,7 @@ def do_lock(no_hashes=True):
|
||||
|
||||
# Run the PEP 508 checker in the virtualenv, add it to the lockfile.
|
||||
c = delegator.run('"{0}" {1}'.format(which('python'), pep508checker.__file__.rstrip('cdo')))
|
||||
lockfile['_meta']['host_508_specifiers'] = json.loads(c.out)
|
||||
lockfile['_meta']['host-508-specifiers'] = json.loads(c.out)
|
||||
|
||||
# Write out the lockfile.
|
||||
with open(project.lockfile_location, 'w') as f:
|
||||
@@ -552,7 +552,7 @@ def do_lock(no_hashes=True):
|
||||
|
||||
# Run the PEP 508 checker in the virtualenv, add it to the lockfile.
|
||||
c = delegator.run('"{0}" {1}'.format(which('python'), pep508checker.__file__.rstrip('cdo')))
|
||||
lockfile['_meta']['host_508_specifiers'] = json.loads(c.out)
|
||||
lockfile['_meta']['host-508-specifiers'] = json.loads(c.out)
|
||||
|
||||
# Write out lockfile.
|
||||
with open(project.lockfile_location, 'w') as f:
|
||||
|
||||
Reference in New Issue
Block a user