Module pip.py, grab files also from file-location
Hey there,
I would like to do in my state file something like this:
/path/to/my/virtualenv
virtualenv.managed:
- extra_index_url: 'file:///srv/packages/python/simple/'
- no_site_packages: True
- requirements: salt://path/to/my/requirements.txt
That however does not work, as in the module pip.py there's a check against if the url is valid or not. However there the file-"protocoll" is not recognized (for pip this url would be valid). I think this would be fix very easy to implement.
Cool! Thanks for the request, you're right, this should be easy to implement.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.