-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (61 loc) · 2.03 KB
/
pyproject.toml
File metadata and controls
70 lines (61 loc) · 2.03 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "envira"
dynamic = ["version"]
description = "A software environment management tool"
authors = [{name = "ControlNet", email = "smczx@hotmail.com"}]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.12.0"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Environment :: Console",
"Operating System :: POSIX :: Linux",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
dependencies = [
"rich>=14.0.0,<15",
"distro>=1.9.0,<2",
]
[project.urls]
Homepage = "https://github.com/ControlNet/envira"
Repository = "https://github.com/ControlNet/envira"
Issues = "https://github.com/ControlNet/envira/issues"
[project.scripts]
envira = "envira.__main__:main"
[tool.setuptools.packages.find]
include = ["envira", "envira.*"]
exclude = ["tests*", "test*"]
[tool.setuptools_scm]
write_to = "envira/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
# Pixi configuration
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.tasks]
dev = "python -m envira"
test = "python -m unittest discover test"
build = "pyinstaller --onedir --distpath dist --workpath pybuild --specpath pybuild --console --noconfirm --noupx --name envira cli.py"
build-prod = "pyinstaller --onefile --distpath dist --workpath pybuild --specpath pybuild --console --strip --exclude-module pytest --exclude-module tk --name envira cli.py"
build-package = "python -m build && twine check dist/*"
clean = "rm -rf dist pybuild build"
[tool.pixi.dependencies]
python = ">=3.12,<4"
rich = ">=14.0.0,<15"
distro = ">=1.9.0,<2"
[tool.pixi.build-dependencies]
pyinstaller = ">=6,<7"
twine = "*"
setuptools = "*"
setuptools-scm = "*"
wheel = "*"
python-build = "*"