-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·106 lines (90 loc) · 3.22 KB
/
pyproject.toml
File metadata and controls
executable file
·106 lines (90 loc) · 3.22 KB
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
# ==============================================================================
# Project Build System Configuration
# ==============================================================================
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
# ==============================================================================
# Core Project Metadata
# ==============================================================================
[project]
name = "qctddft"
version = "1.2.0"
description = "A Python toolkit for analyzing Q-Chem TDDFT calculations, from data extraction to structural clustering."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Senal Liyanage"}]
# For more detailed classifiers: https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Chemistry",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
]
# ==============================================================================
# Project Dependencies
# ==============================================================================
dependencies = [
# --- Core ---
"numpy>=1.23",
"pandas>=2.0",
"scipy>=1.10",
# --- Command-Line Interface ---
"typer>=0.9",
# --- Plotting & Visualization ---
"matplotlib>=3.7",
# --- Scientific & Clustering ---
"MDAnalysis>=2.7.0",
"scikit-learn>=1.3.0",
]
# ==============================================================================
# Optional Dependencies (for development, testing, etc.)
# ==============================================================================
[project.optional-dependencies]
dev = [
# --- Testing ---
"pytest>=7",
# --- Code Formatting & Linting ---
"black>=23",
"ruff>=0.4",
# --- Packaging & Distribution ---
"build>=1.0",
"twine>=4.0",
]
# ==============================================================================
# Entry Point for the Command-Line Script
# ==============================================================================
[project.scripts]
qctddft = "qctddft.cli:run"
# ==============================================================================
# Project URLs (Homepage, Repository, etc.)
# ==============================================================================
[project.urls]
Homepage = "https://github.com/fr-0zt/qctddft"
Repository = "https://github.com/fr-0zt/qctddft"
# ==============================================================================
# Tool-Specific Configurations
# ==============================================================================
# --- Setuptools: How to find the package source code ---
[tool.setuptools.packages.find]
where = ["src"]
include = ["qctddft*"]
# --- Black: The uncompromising code formatter ---
[tool.black]
line-length = 100
# --- Ruff: An extremely fast Python linter ---
[tool.ruff]
line-length = 100
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort (import sorting)
"UP", # pyupgrade
]
# --- Pytest: Configuration for running tests ---
[tool.pytest.ini_options]
testpaths = ["src/tests"]
pythonpath = ["src"]