Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SahanDisa opened this issue Jul 21, 2023 · 2 comments
Open
Labels
dependencies Pull requests that update a dependency file

Comments

@SahanDisa
Copy link
Collaborator

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 <[email protected]>"]

[project.dependencies]
dependency1 = "^1.0"
dependency2 = "^2.0"

How to run and perform an editable install

pip install -e .
@SahanDisa SahanDisa added the dependencies Pull requests that update a dependency file label Jul 21, 2023
@adityanarayanm095
Copy link

adityanarayanm095 commented Oct 31, 2023

@SahanDisa @NipunaC95 @charithccmc
I want to work on this issue. Please assign it to me

@sivangbagri
Copy link

@SahanDisa can i still work on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants