#toml

tord_dellsen@diasp.eu

Making the switch from setup.py to pyproject.toml

My experience:
* It's been easy to do the switch
* It's cleaner than using setup.py
* pyproject.toml can also be used for various tool configurations (pylint, pytest, etc)
* One drawback: I used to run a script after pip install using cmdclass in setup.py, and this can still be done, but the problem is that there isn't much possibility to import packages (possibly because the packaging now is done inside a virtual environment, i'm not sure). I cannot even import modules in my own package

#python #packaging #programming #pyproject #toml