Skip to content

Commit

Permalink
Merge pull request #683 from cordada/task/replace-setuptools-sdist-bd…
Browse files Browse the repository at this point in the history
…ist-wheel-with-build

Replace `setup.py sdist` and `bdist_wheel` with `build`
  • Loading branch information
jtrobles-cdd authored Aug 28, 2024
2 parents 8fe9027 + a4f7566 commit 2f050fa
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ build: ## Build Python package
$(PYTHON) setup.py build

dist: build ## builds source and wheel package
python setup.py sdist
python setup.py bdist_wheel
python -m build --sdist
python -m build --wheel
twine check dist/*
ls -l dist

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,6 @@ cl_sii = [

[tool.setuptools.dynamic]
version = {attr = "cl_sii.__version__"}

[tool.distutils.bdist_wheel]
universal = false
1 change: 1 addition & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
-c requirements.txt

black==24.8.0
build==1.0.3
bumpversion==0.5.3
coverage==7.6.1
flake8==7.1.1
Expand Down
4 changes: 3 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ black==24.8.0
bleach==5.0.1
# via readme-renderer
build==1.0.3
# via pip-tools
# via
# -r requirements-dev.in
# pip-tools
bumpversion==0.5.3
# via -r requirements-dev.in
cachetools==5.5.0
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

0 comments on commit 2f050fa

Please sign in to comment.