Skip to content

Documentation should mention variable expansion works only in [[source]] entries #2317

Closed
@OrangeDog

Description

@OrangeDog

At least on Windows, in a file string, environment variables are not being expanded.

_python-ldap = {platform_system = "== 'Windows'", file = "%USERPROFILE%/Downloads/python_ldap-3.1.0-cp36-cp36m-win_amd64.whl"}

WARNING: Invalid requirement, parse error at "'%USERPRO'"
ABORTING INSTALL... You will have to reinstall any packages that failed to install.

The same thing happens for ${USERPROFILE} and $USERPROFILE.
Python 3.6.5
Pipenv 2018.05.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Documentation 📖This issue relates to documentation of pipenv.good first issueIssues suitable as a newcomer to get familiar with Pipenv!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions