saulpw / aipl

Array-Inspired Pipeline Language
MIT License
119 stars 7 forks source link

Add basic testrunner and github sponsor link #4

Closed anjakefala closed 1 year ago

anjakefala commented 1 year ago

Part of #3

cthulahoops commented 1 year ago

Can we avoid duplication between setup.py and pyproject.toml?

https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html

anjakefala commented 1 year ago

@cthulahoops Ah yeah, it would be good to avoid duplication.

I had never worked with pyproject.toml, and did not realise it was also compatible with a pip/conda environment (which is what I have)! Native setup.py is the method I am comfortable with, so I just went with what I could set up quickly and comfortably.

Since it seems like poetry cannot get what it needs from a standard setup.py, I will try to adapt and see if I can de-duplicate and put as much as we need into pyproject.toml.

(As an example of something I need, I really like installing in-development projects in an editable state, and it seems like to do that we need both pyproject.toml and setup.py? https://stackoverflow.com/questions/62983756/what-is-pyproject-toml-file-for.)

I will open an issue to resolve the duplication, but can we keep them both for now until I figure that out?