I want to generate a requirements.txt file from a Pipfile.
I've tried several tools that do this (pigar, pipenv-to-requirements, pipfile-requirements) but none of them address indexes
Meaning that for the following Pipfile:
[[source]]
url = <some-url>
verify_ssl = true
name = <some-name>
[packages]
statsd = "*"
pytest = "*"
I get the following requirements file:
pytest
statsd
Instead of the expected requirements file with an index:
-i <some-url>
pytest
statsd
Another solution that was suggested to me is using "pipenv lock":
pipenv lock --requirements > requirements.txt
But this updates Pipfile.lock - which I really want to avoid
Isn't there some way to generate requirements without locking?