Reputation: 982
I would like to create a requirements.txt
that list packages as >=
obviously pip freeze
does not do this.
The pip
documentation suggests that this is not possible since there are no list
or freeze
options that enables different versioning specification.
Is there an easy way to affect different versioning for packages in the requirements file or is it going to be a manual task?
Upvotes: 0
Views: 162
Reputation: 113988
python -c "print(subprocess.check_output('pip freeze').replace('==','>='))"
... i guess
Upvotes: 1