Open Sikerdebaard opened 3 years ago
hi @Sikerdebaard, as an interested follower of this project, it is not my call to decide on whether to use pyproject.toml
or setup.py
in this project.
i would just like to point out two cool features about poetry that you might be overlooking, but which I have come to enjoy:
develop = true
(e.g. my-package = {path = "../my/path", develop = true}
), see here, this is pretty similar to pip install -e
. in the case for poetry, you might have to run poetry install
for it to refresh the local dependency.Hi thanks for your contribution!
First, I’ll have a look at your get_product addition, as it seems to fail some tests.
Second, I’d like to keep using poetry to manage the dependencies, I think it is easier from a maintainers perspective. I get that it might not give hassle for users, but I’d like to point two things out regarding this.
pip install python-picnic-api
poetry export -f requirements.txt --output requirements.txt
As seen here.I hope that I have explained my views on the matter sufficiently! :)
Hi all!
Here's a pr for adding the get_product api call.
It also includes a requirements.txt and setup.py that are more of an example than something that should be merged blindly. Poetry is nice, but it is not very pythonic and it integrates poorly with data science workflows, e.g. jupyter notebooks, as poetry does not support
pip install -e
-type functionality.