Skip to content

Commit

Permalink
Switched to build package instead of old setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPalasek committed Jul 8, 2023
1 parent af8896d commit 01de2f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel twine
pip install --upgrade setuptools wheel build twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build -sw
twine upload dist/*
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ test = [
"ipykernel"
]
dev = [
"build",
"jupyter",
"ipykernel",
"pandas",
Expand Down
4 changes: 3 additions & 1 deletion requirements-win.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ black==23.3.0
bleach==6.0.0
# via nbconvert
build==0.10.0
# via pip-tools
# via
# pip-tools
# pretty-jupyter (pyproject.toml)
cachetools==5.3.1
# via tox
cerberus==1.3.4
Expand Down

0 comments on commit 01de2f7

Please sign in to comment.