-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (44 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
54 lines (44 loc) · 1.46 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
[project]
name = "pythonQEPest"
version = "2.0.0a6"
description = "Java QEPest but written in Python"
readme = "README.md"
requires-python = ">=3.12,<3.15"
authors = [{ name = "Lina", email = "knocker767@gmail.com" }]
dependencies = ["pydantic==2.12.5", "python-dotenv>=1.2.3,<2.0.0", "ruff (>=0.15.22,<0.16.0)", "ttkbootstrap>=1.20.4,<2.0.0"]
[project.optional-dependencies]
gui = ["pyperclip>=1.11.0,<2.0.0"]
rdkit = ["rdkit (>=2024.3.1,<2026.0.0)"]
[project.scripts]
pythonqepest = "pythonQEPest.cli.cli:main"
[project.gui-scripts]
pythonqepest-gui = "pythonQEPest.gui.gui:main"
[tool.poetry]
packages = [{ include = "pythonQEPest" }]
[dependency-groups]
dev = [
"pytest (>=9.0.3)",
"pre-commit (>=4.6.2,<5.0.0)",
"pyinstaller (>=6.22.2,<7.0.0)",
"poethepoet[poetry_plugin] (>=0.48.0)",
"pytest-cov (>=7.0.0,<8.0.0)",
"twine (>=6.2.0,<7.0.0)",
]
[build-system]
requires = ["poetry-core>=1.0.0", "setuptools>=40.8.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
exclude = [".venv", ".git", "__pycache__", "build", "dist"]
[tool.ruff.lint]
select = ["E", "F", "W", "B", "C4", "UP"]
ignore = ["E203"]
[tool.ruff.format]
quote-style = "double"
[tool.poe.tasks]
test = "pytest"
build-simple = "pyinstaller --onefile pythonQEPest/main.py"
build-gui = "pyinstaller --onefile --noconsole pythonQEPest/gui/gui.py"
publish-pypi = "twine upload --repository pythonQEPest dist/*"
ruff_lint = "ruff check --fix"
ruff_format = "ruff format"