Skip to content

Commit 52f12a4

Browse files
committed
move to pyprject.toml
1 parent a65724b commit 52f12a4

13 files changed

+136
-0
lines changed
8.22 KB
Binary file not shown.

dist/envycontrol-3.5.2.tar.gz

12.1 KB
Binary file not shown.

envycontrol.egg-info/PKG-INFO

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Metadata-Version: 2.4
2+
Name: envycontrol
3+
Version: 3.5.2
4+
Summary: Easy GPU switching for Nvidia Optimus laptops under Linux
5+
Home-page: http://github.com/bayasdev/envycontrol
6+
Author: Victor Bayas
7+
Author-email: [email protected]
8+
License: MIT
9+
Keywords: nvidia,optimus,prime,gpu,linux
10+
Classifier: Development Status :: 5 - Production/Stable
11+
Classifier: License :: OSI Approved :: MIT License
12+
Classifier: Programming Language :: Python :: 3
13+
Classifier: Operating System :: POSIX :: Linux
14+
License-File: LICENSE
15+
Dynamic: author
16+
Dynamic: author-email
17+
Dynamic: classifier
18+
Dynamic: home-page
19+
Dynamic: keywords
20+
Dynamic: license
21+
Dynamic: license-file
22+
Dynamic: summary

envycontrol.egg-info/SOURCES.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
LICENSE
2+
README.md
3+
envycontrol.py
4+
setup.py
5+
envycontrol.egg-info/PKG-INFO
6+
envycontrol.egg-info/SOURCES.txt
7+
envycontrol.egg-info/dependency_links.txt
8+
envycontrol.egg-info/entry_points.txt
9+
envycontrol.egg-info/top_level.txt
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

envycontrol.egg-info/entry_points.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[console_scripts]
2+
envycontrol = envycontrol:main

envycontrol.egg-info/top_level.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
envycontrol

envycontrol/LICENSE.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2025-present solomocyj <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

envycontrol/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EnvyControl
2+
3+
[![PyPI - Version](https://img.shields.io/pypi/v/envycontrol.svg)](https://pypi.org/project/envycontrol)
4+
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/envycontrol.svg)](https://pypi.org/project/envycontrol)
5+
6+
-----
7+
8+
## Table of Contents
9+
10+
- [Installation](#installation)
11+
- [License](#license)
12+
13+
## Installation
14+
15+
```console
16+
pip install envycontrol
17+
```
18+
19+
## License
20+
21+
`envycontrol` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

envycontrol/pyproject.toml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+
requires-python = ">=3.8"
11+
license = "MIT"
12+
keywords = []
13+
authors = [
14+
{ name = "solomocyj", email = "[email protected]" },
15+
]
16+
classifiers = [
17+
"Development Status :: 4 - Beta",
18+
"Programming Language :: Python",
19+
"Programming Language :: Python :: 3.8",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Programming Language :: Python :: Implementation :: PyPy",
26+
]
27+
dependencies = []
28+
29+
[project.urls]
30+
Documentation = "https://github.com/solomocyj/envycontrol#readme"
31+
Issues = "https://github.com/solomocyj/envycontrol/issues"
32+
Source = "https://github.com/solomocyj/envycontrol"
33+
34+
[tool.hatch.version]
35+
path = "src/envycontrol/__about__.py"
36+
37+
[tool.hatch.envs.types]
38+
extra-dependencies = [
39+
"mypy>=1.0.0",
40+
]
41+
[tool.hatch.envs.types.scripts]
42+
check = "mypy --install-types --non-interactive {args:src/envycontrol tests}"
43+
44+
[tool.coverage.run]
45+
source_pkgs = ["envycontrol", "tests"]
46+
branch = true
47+
parallel = true
48+
omit = [
49+
"src/envycontrol/__about__.py",
50+
]
51+
52+
[tool.coverage.paths]
53+
envycontrol = ["src/envycontrol", "*/envycontrol/src/envycontrol"]
54+
tests = ["tests", "*/envycontrol/tests"]
55+
56+
[tool.coverage.report]
57+
exclude_lines = [
58+
"no cov",
59+
"if __name__ == .__main__.:",
60+
"if TYPE_CHECKING:",
61+
]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-FileCopyrightText: 2025-present solomocyj <[email protected]>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
__version__ = "0.0.1"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2025-present solomocyj <[email protected]>
2+
#
3+
# SPDX-License-Identifier: MIT

envycontrol/tests/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2025-present solomocyj <[email protected]>
2+
#
3+
# SPDX-License-Identifier: MIT

0 commit comments

Comments
 (0)