-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (21 loc) · 736 Bytes
/
Copy pathsetup.py
File metadata and controls
26 lines (21 loc) · 736 Bytes
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
from pathlib import Path
from setuptools import find_packages, setup
PROJECT_ROOT = Path(__file__).parent
README = (PROJECT_ROOT / "README.md").read_text(encoding="utf-8")
VERSION_NS: dict[str, str] = {}
exec((PROJECT_ROOT / "macfw" / "__init__.py").read_text(encoding="utf-8"), VERSION_NS)
setup(
name="macfw",
version=VERSION_NS["__version__"],
description="A small pf-based firewall manager for macOS with a ufw-like CLI",
long_description=README,
long_description_content_type="text/markdown",
author="tudoujun",
python_requires=">=3.9",
packages=find_packages(include=["macfw", "macfw.*"]),
entry_points={
"console_scripts": [
"macfw=macfw.cli:main",
]
},
)