ConaireD / TolimanWIP

WIP Toliman codes go here before being added to the main TOLIMAN github
Other
0 stars 0 forks source link

Consider Using `poetry`. #20

Closed Jordan-Dennis closed 1 year ago

Jordan-Dennis commented 1 year ago

Hi all, poetry is like cargo for python. It is pip on steroids with better dependancy managment and a nice publishing API. The downside is that if someone wants to download the package for development (not from PyPi) then they have to install poetry which is non-trivial. It is also slightly overkill for a package this small, but it might be worth it for the experience. Regards Jordan.

Jordan-Dennis commented 1 year ago

So I have downloaded poetry and am using it alongside conda. It has a nice interface and colorfull installation. Like cargo though it takes a very long time and I am not so fussed about that. Hopefully, once the first install is done and the environment becomes fixed it is much faster to install the package.

Jordan-Dennis commented 1 year ago

An interesting feature of poetry is that it has to be a dependancy to be installed with poetry. This is very similar to cargo but it is something that I am in mixed minds about when it comes to tooling like black (#14). I can always just install these packages using pip but for now I will play along with poetry while I am learning.

Jordan-Dennis commented 1 year ago

I like poetry and am giving it the green light for use here.

Jordan-Dennis commented 1 year ago

I am impressed with black although I have not yet tried it with flake8. I am closing this issue in the meantime.