From b09fc4165cee8ac76d9cd145809d957b7be58858 Mon Sep 17 00:00:00 2001 From: Ted Kaplan Date: Mon, 23 Jan 2017 18:38:23 -0800 Subject: [PATCH] Use uncompiled version of pep508checker This ensures that it will work when running across different Python versions. --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 807b2c6a..2cbbad69 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -546,7 +546,7 @@ def check(): click.echo(crayons.yellow('Checking PEP 508 requirements...')) # Run the PEP 508 checker in the virtualenv. - c = delegator.run('{0} {1}'.format(which('python'), pep508checker.__file__)) + c = delegator.run('{0} {1}'.format(which('python'), pep508checker.__file__.rstrip('cd'))) results = json.loads(c.out) # Load the pipfile.