pyproject.toml is a new file format introduced to replace setup.py for managing dependencies in Python projects.
It was introduced as part of PEP 518 and PEP 621.
It’s a configuration file that is used by pip to install your package and its dependencies.
It has a simpler format compared to setup.py and is easier to read and maintain.
Here is an example of a pyproject.toml file:
[project]
name = "your-package-name"
version = "0.0.1"
description = "A brief description of your package"
authors = ["Your Name <your.email@example.com>"]
[project.dependencies]
dependency1 = "^1.0"
dependency2 = "^2.0"
How to run and perform an editable install
pyproject.toml is a new file format introduced to replace setup.py for managing dependencies in Python projects.
It was introduced as part of PEP 518 and PEP 621.
It’s a configuration file that is used by pip to install your package and its dependencies.
It has a simpler format compared to setup.py and is easier to read and maintain.
Here is an example of a pyproject.toml file:
How to run and perform an editable install