Reputation: 791
I would want to define the install requirement for my pip package. Let's say FooLibrary's version should be >=2 but <3.2.
Currently, I have
[options]
install_requires =
FooLibrary >= 2
How can I add a rule for maximum version of the library together with the minimum version rule?
Upvotes: 3
Views: 942
Reputation: 791
Separate version requirements with commas.
So for example, in this case, FooLibrary >=2,<3.2
works
Upvotes: 3