Move project to src structure
This commit is contained in:
@@ -56,9 +56,6 @@ black wcm
|
|||||||
Test runs:
|
Test runs:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# package
|
|
||||||
$ python -m wcm
|
|
||||||
run
|
|
||||||
# script declared in pyproject.toml
|
# script declared in pyproject.toml
|
||||||
$ example
|
$ example
|
||||||
run
|
run
|
||||||
|
|||||||
+10
-9
@@ -1,12 +1,5 @@
|
|||||||
[build-system]
|
|
||||||
requires = ["setuptools>=61"]
|
|
||||||
build-backend = "setuptools.build_meta"
|
|
||||||
|
|
||||||
[tool.setuptools]
|
|
||||||
packages = ["vpn_manager"]
|
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "vpn-manager"
|
name = "wcm"
|
||||||
description = "Manage WireGuard VPN peers (both server and clients)"
|
description = "Manage WireGuard VPN peers (both server and clients)"
|
||||||
version = "2024.12.0a"
|
version = "2024.12.0a"
|
||||||
license = {file = "LICENSE"}
|
license = {file = "LICENSE"}
|
||||||
@@ -25,4 +18,12 @@ dev = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
example = "vpn_manager.__main__:main"
|
example = "wcm.__main__:main"
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["uv_build>=0.9.21,<0.10.0"]
|
||||||
|
build-backend = "uv_build"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
packages = ["wcm"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user