dim
dim copied to clipboard
move to pyproject.toml
Python decided that setup.py isn't supported anymore. The "new" way is to use pyproject.toml files to specify how a project should look like.
This also drops a lot of things that were possible with setup.py like providing scripts directly. This is not possible anymore and needs to be implemented some other way. Python says via a package manager.
So this is how I get things working at least a little bit.
To get manage_dim and manage_db working again I merged it all into a dim CLI tool. So things need to be called dim db ....
@parsa97 can you please take a look.
Thank you for your contribution, @Gibheer.
- Please rebase this branch with master.
- Split the CLI changes into another PR and update the documentation.
- The change in the command line interface is not something easy to consider; we may do this in the next release.
- Limit this PR to only adding pyproject.toml and keep setup.py. We are already using setup.py and may consider removing it in the future.
Sorry, I didn't see you comment till now. Currently I don't have the time to work on this anymore. And with python being as ever changing as it is, I assume things have changed again the mean time. If you like, you can use my code as the basis for further work.
Superseded by #283