I need to add the package "modAL" (uppercase AL) as a dependency to a package. Since packages names are (seemingly) case insensitive in pyproject.toml, it falls back to "modal" which is another package.
What is the best way to add modAL and not modal as a depencendy ?
I can install modAL separately (it works), but I want to add it as a regular dependency and I have no clue how to do it.
I need to add the package "modAL" (uppercase AL) as a dependency to a package. Since packages names are (seemingly) case insensitive in pyproject.toml, it falls back to "modal" which is another package.
What is the best way to add modAL and not modal as a depencendy ?
I can install modAL separately (it works), but I want to add it as a regular dependency and I have no clue how to do it.
Share Improve this question edited Mar 14 at 16:45 benjamin_a asked Mar 14 at 16:45 benjamin_abenjamin_a 311 silver badge4 bronze badges 1- 2 so as far as I know, python package names are case insensitive, and on pypi, the "modAL" package seems to be distributed as "modAL-python" – juanpa.arrivillaga Commented Mar 14 at 16:56
2 Answers
Reset to default 1The comment of juanpa.arrivillega solves my problem:
"python package names are case insensitive, and on pypi, the "modAL" package seems to be distributed as "modAL-python""
I just replaced "modAL" by "modAL-python" and it works as expected. Thank you !
NOTE : Meanwhile I asked ChatGPT which suggested to use Poetry, but I couldn't find the right way to add this dependency line.
The comment of juanpa.arrivillega solves my problem:
"python package names are case insensitive, and on pypi, the "modAL" package seems to be distributed as "modAL-python""
I just replaced "modAL" by "modAL-python" and it works as expected. Thank you !
Can you add it as a regular answer so I can accept it ?
NOTE : Meanwhile I asked ChatGPT which suggested to use Poetry, but I couldn't find the right way to add this dependency line.
Here, @benjamin_a