dim icon indicating copy to clipboard operation
dim copied to clipboard

move to pyproject.toml

Open Gibheer opened this issue 2 years ago • 2 comments

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 ....

Gibheer avatar Sep 28 '23 18:09 Gibheer

@parsa97 can you please take a look.

miesi avatar Jul 26 '24 12:07 miesi

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.

parsa97 avatar Jul 28 '24 17:07 parsa97

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.

Gibheer avatar Aug 21 '24 13:08 Gibheer

Superseded by #283

zeromind avatar Sep 11 '24 08:09 zeromind