-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (38 loc) · 1.26 KB
/
pyproject.toml
File metadata and controls
46 lines (38 loc) · 1.26 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
[project]
name = "pythonQEPest"
version = "2.0.0a4"
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.1,<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.0)",
"pre-commit (>=4.3.0,<5.0.0)",
"pyinstaller (>=6.18.0,<7.0.0)",
"poethepoet[poetry_plugin] (>=0.39.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.flake8]
max-line-length = 88
extend-ignore = ["E203", "W503"]
exclude = [".venv", ".git", "__pycache__", "build", "dist"]
[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/*"