Skip to content

Commit debbea4

Browse files
committed
Experimenting with uv
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
1 parent 440598f commit debbea4

15 files changed

+196
-64
lines changed

.gitignore

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
build
22
dist
3-
/cfengine_cli/VERSION
4-
/cfengine_cli/__pycache__/
5-
/cfengine.egg-info/
6-
/venv
7-
/.venv
8-
__pycache__/
9-
**/.DS_STORE
3+
VERSION
4+
cfengine.egg-info
5+
venv
6+
.venv
7+
__pycache__
8+
.DS_STORE
109
.pytest_cache

.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

main.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def main():
2+
print("Hello from cfengine-cli!")
3+
4+
5+
if __name__ == "__main__":
6+
main()

pyproject.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[project]
2+
name = "cfengine"
3+
dynamic = ["version"]
4+
description = "Human-oriented CLI for interacting with CFEngine tools"
5+
readme = "README.md"
6+
requires-python = ">=3.9"
7+
dependencies = [
8+
"cf-remote>=0.6.4",
9+
"cfbs>=4.3.1",
10+
]
11+
12+
[project.scripts]
13+
cfengine = "cfengine_cli.main:main"
14+
15+
[build-system]
16+
requires = ["setuptools>=64", "setuptools-scm>=8"]
17+
build-backend = "setuptools.build_meta"

requirements.txt

-2
This file was deleted.

setup.py

-55
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

uv.lock

+166
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)