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

No pyproject.toml (poetry) config file #40

Closed
hobson opened this issue Jul 24, 2022 · 1 comment
Closed

No pyproject.toml (poetry) config file #40

hobson opened this issue Jul 24, 2022 · 1 comment

Comments

@hobson
Copy link

hobson commented Jul 24, 2022

Projects using poetry for dependency and environment management might appreciate a pyproject.toml file.
I'll issue a PR to add a pyproject.toml.
Also will add another install_editable.sh to pip install --editable from the setup.py file generated by poetry rather than the hardcoded one in the repository.

@sheppard
Copy link
Member

sheppard commented Jun 7, 2023

Thanks for the prompt. I finally added a pyproject.toml in f4e1600, using the newer standard [project] section for metadata. The standard format should be compatible with a number of build backends, though it looks like Poetry's support is still under development.

To integrate Django Data Wizard into an existing project, you should be able to install the pre-built package from PyPI, using Poetry or any tool of your choosing. There are a number of ways to customize Django Data Wizard without installing it from source.

If you do need to fork and/or make contributions to Django Data Wizard, you can add a Poetry configuration to the fork - but for the main repository I will probably stick with setuptools since that's the standard configuration. Once Poetry implements the [project] section in pyproject.toml you should be able to use it for developing DDW as well.

@sheppard sheppard closed this as completed Jun 7, 2023
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