-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
52 lines (44 loc) · 1.92 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
[build-system]
requires = ["scikit-build-core~=0.10.7", "nanobind >=2.2"]
build-backend = "scikit_build_core.build"
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project]
name = "servalcat"
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = ['packaging', 'numpy>=1.15', 'scipy', 'pandas>=1.1.0', 'gemmi==0.7.0']
description="Structure refinement and validation for crystallography and single particle analysis"
readme = "README.md"
authors = [
{ name = "Keitaro Yamashita", email = "" },
{ name = "Garib N. Murshudov", email = "" },
]
urls.repository = "https://github.com/keitaroyam/servalcat"
license = {text = "MPL-2.0"}
[project.scripts]
servalcat = "servalcat.__main__:main"
refmacat = "servalcat.refmac.refmac_wrapper:command_line"
[tool.scikit-build]
#build-dir = "/tmp/gemmi_build2/{wheel_tag}"
wheel.expand-macos-universal-tags = true # not sure if this is useful
cmake.build-type = "Release"
build.verbose = true
sdist.include = ["eigen/Eigen", "eigen/README.md", "eigen/COPYING*"]
sdist.exclude = [".*", "eigen/", "scripts/"]
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "servalcat/__init__.py"
[tool.cibuildwheel]
# increase pip debugging output
build-verbosity = 2
test-command = "python {project}/tests/test_for_ci.py" # comment out to test with gemmi build
[tool.cibuildwheel.environment]
SKBUILD_CMAKE_ARGS = '-DGENERATE_STUBS=OFF' # -DINSTALL_GEMMI_IF_BUILT=1 to test with gemmi build
# Needed for full C++17 support on macOS
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.14"
SKBUILD_CMAKE_ARGS = '-DGENERATE_STUBS=OFF' # -DINSTALL_GEMMI_IF_BUILT=1 to test with gemmi build
[tool.codespell]
skip = './eigen,./gemmi,*.pdb,*.crd,*.cif,*.mmcif,*.ent,*.log*,*.dic,tags,*.bak,*build*,*~'
# codespell apparently requires that the words here are lowercase
ignore-words-list = 'fo,fom,dum,varn,readd,alph,valu,chec,buil'