Skip to content

Commit

Permalink
Add pypi-publish pixi task
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Feb 5, 2024
1 parent 9a03c8f commit c06277e
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 13 deletions.
180 changes: 180 additions & 0 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ pre-commit = "pre-commit run --all-files"
test = { depends_on = ["install"], cmd = "pytest --cov=pandamesh --cov-report xml --cov-report term"}
docs = { depends_on = ["install"], cmd = "sphinx-build docs docs/_build"}
all = { depends_on = ["pre-commit", "test", "docs"]}
pypi-publish = { cmd = "rm --recursive --force dist && python -m build && twine check dist/* && twine upload dist/*" }

[dependencies]
build = "*"
geopandas = "*"
python-gmsh = "*"
matplotlib = "*"
Expand Down
13 changes: 0 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,6 @@ all = [
'shapely >= 2.0',
'matplotlib',
]
# pyproject.toml doesn't quite support re-use like setup.cfg did:
# https://github.com/pypa/setuptools/issues/3221
docs = [
'geopandas',
'gmsh',
'pooch',
'triangle',
'shapely >= 2.0',
'matplotlib',
'pydata-sphinx-theme',
'sphinx',
'sphinx-gallery',
]

[tool.hatch.version]
path = "pandamesh/__init__.py"
Expand Down

0 comments on commit c06277e

Please sign in to comment.