-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
108 lines (96 loc) · 3.08 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Core build system configuration
[build-system]
# Required packages for building the project
requires = [
"setuptools_scm>=8", # For version management
"setuptools>=61.0.0", # For building the package
"pytest>=8.0.0", # For running tests
]
[project]
# Basic project metadata
name = "qc-PyCI"
description = "PyCI: A flexible quantum chemistry CI library for Python 3."
authors = [{name = "QC-Devs Community", email = "[email protected]"}]
license = {file = "LICENSE"}
readme = "README.md"
dynamic = ["version"] # Version managed by setuptools_scm
# Project classification and requirements
keywords = [
"quantum chemistry",
"configuration interaction",
"theoretical chemistry"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3",
"Programming Language :: C++",
]
requires-python = ">=3.9"
# Core dependencies
dependencies = [
"numpy>=1.13", # Required for numerical operations
"scipy>=1.0" # Required for scientific computations
]
# Optional feature sets
[project.optional-dependencies]
test = [
"pytest>=6.0",
"pycodestyle", # For code style checking
"pydocstyle" # For docstring style checking
]
doc = [
"sphinx", # Documentation generator
"nbsphinx", # Jupyter notebook support in Sphinx
"sphinx_rtd_theme" # ReadTheDocs theme
]
# Project URLs
[project.urls]
Homepage = "https://github.com/theochem/pyci"
Source = "https://github.com/theochem/pyci"
Issues = "https://github.com/theochem/pyci/issues"
Documentation = "https://pyci.qcdevs.org/"
# Package discovery and data files
[tool.setuptools]
# List of packages to include
packages = [
"pyci",
"pyci.fanci",
"pyci.test",
"pyci.fanci.test",
]
[tool.setuptools.package-data]
# Non-Python files to include in the package
"pyci" = [
"_pyci.so", # Compiled C++ extension
"_pyci.so.0.6.1", # Compiled C++ extension
"include/*.h", # C++ header files
"src/*.cpp" # C++ source files
]
"pyci.test" = [
"data/*.fcidump", # Test input files
"data/*.npy", # NumPy data files
"data/*.npz" # Compressed NumPy data files
]
"pyci.fanci.test" = [
"data/*.fcidump", # Test input files
"data/*.npy", # NumPy data files
"data/*.npz" # Compressed NumPy data files
]
[tool.cibuildwheel]
# Switch to using build
build-frontend = "build"
[tool.cibuildwheel.linux]
before-build = "bash {project}/tools/wheels/cibw_before_build_linux.sh"
# Version management configuration
[tool.setuptools_scm]
# Enable setuptools-scm for version management