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
Original file line number Diff line number Diff line change
Expand Up @@ -1914,6 +1914,102 @@ package:
license_family: MIT
size: 322514
timestamp: 1695991054894
- platform: linux-64
name: build
version: 0.7.0
category: main
manager: conda
dependencies:
- importlib-metadata
- packaging
- pep517 >=0.9.1
- python >=3.6
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/build-0.7.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: add7f31586d03678695b32b78a1337a1
sha256: 44e2d3270209d1f10b8adec2a159699ed66914e851ec34775902e856ea04afeb
build: pyhd8ed1ab_0
arch: x86_64
subdir: linux-64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 17759
timestamp: 1631843776429
- platform: osx-64
name: build
version: 0.7.0
category: main
manager: conda
dependencies:
- importlib-metadata
- packaging
- pep517 >=0.9.1
- python >=3.6
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/build-0.7.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: add7f31586d03678695b32b78a1337a1
sha256: 44e2d3270209d1f10b8adec2a159699ed66914e851ec34775902e856ea04afeb
build: pyhd8ed1ab_0
arch: x86_64
subdir: osx-64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 17759
timestamp: 1631843776429
- platform: osx-arm64
name: build
version: 0.7.0
category: main
manager: conda
dependencies:
- importlib-metadata
- packaging
- pep517 >=0.9.1
- python >=3.6
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/build-0.7.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: add7f31586d03678695b32b78a1337a1
sha256: 44e2d3270209d1f10b8adec2a159699ed66914e851ec34775902e856ea04afeb
build: pyhd8ed1ab_0
arch: aarch64
subdir: osx-arm64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 17759
timestamp: 1631843776429
- platform: win-64
name: build
version: 0.7.0
category: main
manager: conda
dependencies:
- importlib-metadata
- packaging
- pep517 >=0.9.1
- python >=3.6
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/build-0.7.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: add7f31586d03678695b32b78a1337a1
sha256: 44e2d3270209d1f10b8adec2a159699ed66914e851ec34775902e856ea04afeb
build: pyhd8ed1ab_0
arch: x86_64
subdir: win-64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 17759
timestamp: 1631843776429
- platform: linux-64
name: bzip2
version: 1.0.8
Expand Down Expand Up @@ -21597,6 +21693,90 @@ package:
license_family: BSD
size: 880802
timestamp: 1698611415241
- platform: linux-64
name: pep517
version: 0.13.0
category: main
manager: conda
dependencies:
- python >=3.8
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/pep517-0.13.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: d94aa03d99d8adc9898f783eba0d84d2
sha256: 6a6f2fa6bc9106b2edcccc142242dc3ab1f2f77a6debbd5b480f08482f052636
build: pyhd8ed1ab_0
arch: x86_64
subdir: linux-64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 19044
timestamp: 1667916747996
- platform: osx-64
name: pep517
version: 0.13.0
category: main
manager: conda
dependencies:
- python >=3.8
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/pep517-0.13.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: d94aa03d99d8adc9898f783eba0d84d2
sha256: 6a6f2fa6bc9106b2edcccc142242dc3ab1f2f77a6debbd5b480f08482f052636
build: pyhd8ed1ab_0
arch: x86_64
subdir: osx-64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 19044
timestamp: 1667916747996
- platform: osx-arm64
name: pep517
version: 0.13.0
category: main
manager: conda
dependencies:
- python >=3.8
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/pep517-0.13.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: d94aa03d99d8adc9898f783eba0d84d2
sha256: 6a6f2fa6bc9106b2edcccc142242dc3ab1f2f77a6debbd5b480f08482f052636
build: pyhd8ed1ab_0
arch: aarch64
subdir: osx-arm64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 19044
timestamp: 1667916747996
- platform: win-64
name: pep517
version: 0.13.0
category: main
manager: conda
dependencies:
- python >=3.8
- tomli
url: https://conda.anaconda.org/conda-forge/noarch/pep517-0.13.0-pyhd8ed1ab_0.tar.bz2
hash:
md5: d94aa03d99d8adc9898f783eba0d84d2
sha256: 6a6f2fa6bc9106b2edcccc142242dc3ab1f2f77a6debbd5b480f08482f052636
build: pyhd8ed1ab_0
arch: x86_64
subdir: win-64
build_number: 0
license: MIT
license_family: MIT
noarch: python
size: 19044
timestamp: 1667916747996
- platform: linux-64
name: pexpect
version: 4.9.0
Expand Down
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.