Skip to content

Commit

Permalink
update toml
Browse files Browse the repository at this point in the history
  • Loading branch information
laszewsk committed Dec 16, 2023
1 parent 14a7ac6 commit 0b37b18
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 9 additions & 1 deletion makefile-pypi.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ dist:
python setup.py sdist bdist_wheel
twine check dist/*

ndist:
pip install -q build
python -m build

npatch:
python -m twine upload --repository testpypi dist/*

patch: clean twine
$(call banner, "patch")
pip install -r requirements-dev.txt
cms bumpversion patch
@VERSION=$$(cat VERSION); \
git commit -m "bump version ${VERSION}" .; git push
python setup.py sdist bdist_wheel
pip install -q build
python -m build
git push origin main --tags
twine check dist/*
twine upload --repository testpypi dist/*
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# pyproject.toml

[build-system]
build-backend = "setuptools.build_meta"
requires = [
Expand Down Expand Up @@ -70,4 +68,4 @@ dependencies = [
[project.urls]
"Documentation" = "https://github.com/cloudmesh/cloudmesh-common"
[tool.setuptools.packages.find]
exclude = ["decrecated", "tests", "tests.*", "examples"]
exclude = ["deprecated", "deprecated.**", "tests", "tests.*", "examples"]

0 comments on commit 0b37b18

Please sign in to comment.