-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed hatch support * Updated macOS SWI discovery * Updated paths for test fixtures in tests
- Loading branch information
Showing
10 changed files
with
69 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ pyswip.egg-info/ | |
build/ | ||
/.idea/ | ||
/.mypy_cache/ | ||
.venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
hatch==1.12.0 | ||
ruff==0.6.2 | ||
ruff==0.6.2 | ||
build | ||
pytest-cov | ||
mypy>=1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pyswip" | ||
dynamic = ["version"] | ||
version = "0.3.0" | ||
description = "PySwip enables querying SWI-Prolog in your Python programs." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = "MIT" | ||
authors = [ | ||
{ name = "Yuce Tekol", email = "[email protected]" }, | ||
] | ||
|
@@ -40,39 +39,10 @@ classifiers = [ | |
Download = "https://github.com/yuce/pyswip/releases" | ||
Homepage = "https://github.com/yuce/pyswip" | ||
|
||
[tool.hatch.version] | ||
path = "src/pyswip/__init__.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
packages = ["src/pyswip"] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/pyswip"] | ||
|
||
[tool.hatch.envs.test] | ||
dependencies = [ | ||
"pytest", | ||
"pytest-cov", | ||
] | ||
|
||
[tool.hatch.envs.test.scripts] | ||
all = "py.test tests --verbose" | ||
coverage = "py.test tests --verbose --cov=pyswip" | ||
|
||
[tool.hatch.envs.upload-coverage] | ||
dependencies = [ | ||
"coveralls", | ||
] | ||
|
||
[tool.hatch.envs.upload-coverage.scripts] | ||
run-coveralls = "coveralls" | ||
|
||
[tool.hatch.envs.types] | ||
extra-dependencies = [ | ||
"mypy>=1.0.0", | ||
] | ||
[tool.hatch.envs.types.scripts] | ||
check = "mypy --install-types --non-interactive {args:pyswip tests}" | ||
|
||
[tool.ruff.lint] | ||
ignore = ["F403", "F405", "E721"] | ||
|
||
[tool.pytest.ini_options] | ||
markers = [ | ||
"slow: marks tests as slow (deselect with '-m \"not slow\"')", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters