Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate setup.py or similar #108

Closed
KrisThielemans opened this issue Nov 20, 2023 · 3 comments
Closed

generate setup.py or similar #108

KrisThielemans opened this issue Nov 20, 2023 · 3 comments

Comments

@KrisThielemans
Copy link

It'd make sense to be able to install generated python.

@naegelejd
Copy link
Contributor

Hi Kris,

There are many methods for describing and building installable Python packages. The current best practice is to write a pyproject.toml file describing the project and specifying a "build backend", such as Setuptools or Hatchling. However, almost all of the information needed in a setup.py or pyproject.toml file is independent of the Yardl model (e.g. project name, version, license, readme, classifiers, URLs, etc.). Does it make sense for Yardl to generate that file if most of it has to be manually updated and maintained by the author?

We just released MRD 2.0.0, the new version of the ISMRM Raw Data format, which uses Yardl. You can see how I set up the Python packaging files adjacent to the generated mrd Python code here: https://github.com/ismrmrd/mrd/tree/main/python.

@KrisThielemans
Copy link
Author

That makes sense. I'll create an issue for ourselves.

@KrisThielemans
Copy link
Author

ETSInitiative/PETSIRD#23. Input welcome 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants