Skip to content

Commit

Permalink
paquo: more pep517 compliant config
Browse files Browse the repository at this point in the history
Reference #24
  • Loading branch information
ap-- committed Jul 31, 2020
1 parent 7ccc1e2 commit abc86f8
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 14 deletions.
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
prune .github
exclude .git*
exclude .*.yml
recursive-exclude . *secrets*
2 changes: 1 addition & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- jpype1>=1.0.1
- shapely
- qupath
- pytest
- pytest>=6
- pytest-cov
- pip:
- "-e ."
18 changes: 17 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,26 @@
requires = [
"setuptools >= 42",
"wheel",
"setuptools_scm[toml]>=3.4"
"setuptools_scm[toml]>=3.4",
]
build-backend = "setuptools.build_meta"


[tool.setuptools_scm]
write_to = "paquo/_version.py"
version_scheme = "post-release"


[tool.pytest.ini_options]
addopts = [
"-v",
# (only needed by windows) disable faulthandler plugin to suppress non-fatal error msgs
"-p", "no:faulthandler",
]


[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
]
5 changes: 0 additions & 5 deletions pytest.ini

This file was deleted.

8 changes: 1 addition & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,15 @@ classifiers =
zip_safe = False
packages = find:
python_requires = >=3.8
include_package_data = True
install_requires =
JPype1>=1.0.1
shapely

[options.extras_require]
dev =
pytest
pytest>=6
pytest-cov

docs =
sphinx
sphinxemoji

[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError

0 comments on commit abc86f8

Please sign in to comment.