Skip to content

Commit 6870602

Browse files
otherJL0atugushevssbarnea
authored
Adding pyproject.toml file (#1643)
Co-authored-by: Albert Tugushev <[email protected]> Co-authored-by: Sorin Sbarnea <[email protected]>
1 parent 8447633 commit 6870602

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install -U pip
29-
python -m pip install -U setuptools twine wheel
29+
python -m pip install -U twine build
3030
3131
- name: Build package
3232
run: |
3333
python setup.py --version
34-
python setup.py sdist --format=gztar bdist_wheel
34+
python -m build
3535
twine check dist/*
3636
3737
- name: Upload packages to Jazzband

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build-system]
2+
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]

0 commit comments

Comments
 (0)