Skip to content

Commit 6d6e1e5

Browse files
committed
move to pyproject.toml
1 parent a65724b commit 6d6e1e5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

pyproject.toml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "envycontrol"
7+
dynamic = ["version"]
8+
description = "Easy GPU switching for Nvidia Optimus laptops under Linux"
9+
readme = "README.md"
10+
license = "MIT"
11+
authors = [
12+
{ name = "Victor Bayas", email = "[email protected]" },
13+
]
14+
keywords = [
15+
"gpu",
16+
"linux",
17+
"nvidia",
18+
"optimus",
19+
"prime",
20+
]
21+
classifiers = [
22+
"Development Status :: 5 - Production/Stable",
23+
"License :: OSI Approved :: MIT License",
24+
"Operating System :: POSIX :: Linux",
25+
"Programming Language :: Python :: 3",
26+
]
27+
28+
[project.scripts]
29+
envycontrol = "envycontrol:main"
30+
31+
[project.urls]
32+
Homepage = "http://github.com/bayasdev/envycontrol"
33+
34+
[tool.hatch.version]
35+
path = "envycontrol/__init__.py"
36+
37+
[tool.hatch.build.targets.sdist]
38+
include = [
39+
"/envycontrol",
40+
]

0 commit comments

Comments
 (0)