Skip to content

Add pyproject.toml for dependency management to the python backend #193

@SahanDisa

Description

@SahanDisa

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

pip install -e .

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions