Zulko / ddeint

Scipy-based Delay Differential Equation (DDE) solver
Creative Commons Zero v1.0 Universal
36 stars 24 forks source link

local installation problem #17

Open xwbxxx opened 2 months ago

xwbxxx commented 2 months ago

I try to install the latest version 0.3 via pyproject.toml and the latest released package, an error was raised: '[tool.poetry] section not found in /my/path/pyproject.toml'. Maybe this error happened beacause our versions of poetry/pip/somethingelse/... are not quite similar.

Then I generated a setup.py file, and install this latest package via it successfully. So I'll be appreciate it if you could provied a formal setup.py file.

Zulko commented 2 months ago

What command gives you the error? I forgot to update the installation section but the recommended way is

pip install ddeint
# or install locally
pip install -e .
xwbxxx commented 2 months ago

Thank you for your reply! I'm using poetry install in the root path of this project locally, where there exists pyproject.toml.

Zulko commented 2 months ago

I'm not a poetry expert but I'm thinking that with poetry you could use this:

poetry add ddeint