-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (67 loc) · 2.76 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[build-system]
requires = ["setuptools>=42", "wheel"] # add "setuptools_scm" if we want to use github tags for versioning
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = { file = "src/pycorese/VERSION.txt" }
readme = { file = "README.md", content-type = "text/markdown" }
[project]
name = "pycorese"
dynamic = ["version", "readme"]
authors = [
{ name = "Corese Team", email = "[email protected]" },
{ name = "Anna Bobasheva", email = "[email protected]" },
{ name = "Jean-Luc Szpyrka", email = "[email protected]" },
{ name = "Remi Ceres", email = "[email protected]"},
{ name = "Erwan Demairy", email = "[email protected]"},
]
description = "pycorese: Python API for CORESE Semantic Web platform"
keywords = ["Query Engine", "SPARQL", "SHACL", "RDF",
"RDFS", "OWL", "Reasoning", "Knowledge Graph"]
license = {file = "LICENSE"}
requires-python = ">=3.10"
dependencies = [
"py4j>=0.10.9.7",
"jpype1>=1.5.0",
"pandas>=1.3.3",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Homepage = "https://corese-stack.github.io/corese-python/"
Issues = "https://github.com/corese-stack/corese-python/issues"
Documentation = "https://corese-stack.github.io/corese-python/"
Repository = "https://github.com/corese-stack/corese-python.git"
[tool.pytest.ini_options]
# We follow the pytest recommendations by setting the `import-mode` and using
# the `src/tests` layout.
# https://docs.pytest.org/en/stable/explanation/goodpractices.html#tests-outside-application-code
testpaths = [
"src/",
"tests/"
]
pythonpath = "src"
# Adding the Java jars to the package
# https://setuptools.pypa.io/en/stable/userguide/datafiles.html#package-data
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
# Adding the Java jars to the package.
# The jar files are obtained by the custom `sdist` step in the setup.py.
# (1) corese-python-{version}-with-dependencies.jar is built by the gradle build system,
# (2) corese-core-{version}-with-dependencies.jar is downloaded from the maven repository
# (https://mvnrepository.com/artifact/fr.inria.corese/corese-core).
# Both files are copied to the `resources` directory
# and installed to the `share/pycorese` directory of the venv.
[tool.setuptools.data-files]
"share/pycorese" = ["resources/*.jar"]