-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathpyproject.toml
46 lines (40 loc) · 1.25 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
[build-system]
# setuptools >68.0.0 is incompatible with macos-13
# setuptools_scm >7.1.0 is incompatible with Python 3.7
requires = ["setuptools==68.0.0", "conan==2.5.0", "cmake==3.24", "setuptools_scm[toml]==7.1.0"]
build-backend = "setuptools.build_meta"
[project]
name = "hyperon"
description = "Hyperon API in Python"
readme = "README.md"
requires-python = ">=3.7"
keywords = ["metta", "hyperon", "opencog"]
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Development Status :: 2 - Pre-Alpha",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
]
dynamic = [
"version",
]
[project.scripts]
metta = "hyperon.metta:main"
metta-py = "hyperon.metta:main"
[project.optional-dependencies]
dev = [
"build==0.10.0",
"pytest==7.3.2",
]
[tool.setuptools]
packages = [ "hyperon" ]
package-dir = { "hyperon" = "hyperon" }
[tool.cibuildwheel]
before-all = "sh -c ./python/install-hyperonc.sh"
# There is no Rust toolchain is available for musllinux-i686 environment.
# Other musllinux platforms are opted out to decrease the build time.
skip = "*musllinux*"
test-requires = ["pytest==7.3.2"]
test-command = "pytest {project}/python/tests"