Skip to content

Commit

Permalink
Exclude tests from source distribution, and drop python2 tag for wh…
Browse files Browse the repository at this point in the history
…eel (#202)

* exclude tests from sdist

* remove universal tag

* remove MANIFEST.in, tests will now be included

* fix RDF SVG readme paths

Co-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>
  • Loading branch information
DanielYang59 and janosh authored Sep 20, 2024
1 parent b551581 commit 9c6f926
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,12 @@ df-pdf-export = ["pdfCropMargins>=2", "weasyprint>=60"]
df-svg-export = ["bs4>=0.0.2", "cssutils>=2.9", "lxml>=4.9"]
auto-text-pos = ["adjustText>=0.8"]

[tool.setuptools.packages]
find = { include = ["pymatviz*"], exclude = ["tests*"] }
[tool.setuptools.packages.find]
include = ["pymatviz*"]

[tool.setuptools.package-data]
pymatviz = ["*.csv"]

[tool.distutils.bdist_wheel]
universal = true

[build-system]
requires = ["setuptools>=71"]
build-backend = "setuptools.build_meta"
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ See [`pymatviz/rdf.py`](pymatviz/rdf.py).
| :--------------------------------: | :--------------------------------------: |
| ![element-pair-rdfs-Si16O32] | ![element-pair-rdfs-Na8Nb8O24] |

[element-pair-rdfs-Si16O32]: examples/make_assets/element-pair-rdfs-Si16O32.svg
[element-pair-rdfs-Na8Nb8O24]: examples/make_assets/element-pair-rdfs-Na8Nb8O24.svg
[element-pair-rdfs-Si16O32]: https://github.com/janosh/pymatviz/raw/main/assets/element-pair-rdfs-Si16O32.svg
[element-pair-rdfs-Na8Nb8O24]: https://github.com/janosh/pymatviz/raw/main/assets/element-pair-rdfs-Na8Nb8O24.svg

## Uncertainty

Expand Down

0 comments on commit 9c6f926

Please sign in to comment.