Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions .github/workflows/codeql.yml

This file was deleted.

4 changes: 2 additions & 2 deletions build_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build==0.9.0
twine==5.1.1
build==1.3.0
twine==6.2.0
4 changes: 3 additions & 1 deletion make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ sed -i 's/version = "0.0.0"/version = "'$new_ver'"/' pyproject.toml
sed -i 's/release = "0.0.0"/release = "'$new_ver'"/' docs/conf.py
sed -i 's/SwVersion="0.0.1"/SwVersion="'$new_ver'"/' PyStageLinQ/PyStageLinQ.py


echo "Removing old files"
rm dist/* -f

echo "Build release"
python3 -m build

echo "upload release to pypi"
twine upload dist/* -u __token__ -p $1
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,16 @@ testpaths = [
]
pythonpath = [
"."
]

[tool.hatch.build]
exclude = [
".circleci/",
".github/",
".gitignore",
"*.md",
"tests/",
"docs/",
"tools/",
"make_release.sh",
]