bambinos / formulae

Formulas for mixed-effects models in Python
https://bambinos.github.io/formulae/
MIT License
56 stars 14 forks source link

use poetry #67

Open teucer opened 2 years ago

teucer commented 2 years ago

I think it would be helpful to use poetry for dependency management and package building process.

tomicapretto commented 2 years ago

I've seen Poetry in other projects, but I'm not very aware of its advantages over what we already have. What would be different/better with Poetry? (asking from an ignorant perspective, I'm not familiar with it)

teucer commented 2 years ago

This link explains the use.

In a nutshell: poetryhelps to specify, install, and resolve external packages. It also supports to deploy to pypi. No need to have setup or requirements files.

teucer commented 2 years ago

Please let me know if this is something that you would like to do: I can send a PR...

tomicapretto commented 2 years ago

I prefer to keep the project as it is in terms of tools for dependency management, package building, etc.

I understand Poetry is helpful. But in our case everything we need is already working so I don't think it is a good time to change it. It implies some work and I don't see the benefits now.

teucer commented 2 years ago

Point taken. I still think poetry would open the door for an easier setup for development purposes, hence more contributors. It is as easy as "poetry install".

tomicapretto commented 2 years ago

I understand. Maybe once I use poetry in another project and understand the benefits we can revisit this issue here.

wd60622 commented 1 year ago

Even though I'm a poetry fan, the setup is pretty straight forward.


pyenv local 3.9
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .