Skip to content

Commit 01de2f7

Browse files
committed
Switched to build package instead of old setup.py.
1 parent af8896d commit 01de2f7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- name: Install dependencies
1515
run: |
1616
python -m pip install --upgrade pip
17-
pip install --upgrade setuptools wheel twine
17+
pip install --upgrade setuptools wheel build twine
1818
- name: Build and publish
1919
env:
2020
TWINE_USERNAME: __token__
2121
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2222
run: |
23-
python setup.py sdist bdist_wheel
23+
python -m build -sw
2424
twine upload dist/*

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ test = [
5656
"ipykernel"
5757
]
5858
dev = [
59+
"build",
5960
"jupyter",
6061
"ipykernel",
6162
"pandas",

requirements-win.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ black==23.3.0
4040
bleach==6.0.0
4141
# via nbconvert
4242
build==0.10.0
43-
# via pip-tools
43+
# via
44+
# pip-tools
45+
# pretty-jupyter (pyproject.toml)
4446
cachetools==5.3.1
4547
# via tox
4648
cerberus==1.3.4

0 commit comments

Comments
 (0)