forked from Nour833/StegoForge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.46 KB
/
Copy pathsetup.py
File metadata and controls
44 lines (40 loc) · 1.46 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from pathlib import Path
from setuptools import setup, find_packages
def _read_version() -> str:
namespace: dict[str, str] = {}
version_file = Path(__file__).parent / "core" / "version.py"
exec(version_file.read_text(encoding="utf-8"), namespace)
return str(namespace["__version__"])
setup(
name="secretloom",
version=_read_version(),
description="A private, local-first steganography and forensics workbench",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="SecretLoom contributors; based on StegoForge by Nour833",
license="MIT",
packages=find_packages(exclude=("tests", "tests.*")),
include_package_data=False,
package_data={
"web": ["templates/*", "static/*"],
"models": ["*.onnx"],
},
py_modules=["stegoforge"],
python_requires=">=3.10",
install_requires=(
open("requirements.txt").read().splitlines() +
open("requirements-web.txt").read().splitlines()
),
project_urls={
"Source": "https://github.com/dlpwaters/secretloom",
"Bug Tracker": "https://github.com/dlpwaters/secretloom/issues",
"Upstream": "https://github.com/Nour833/StegoForge",
"Changelog": "https://github.com/dlpwaters/secretloom/blob/main/CHANGELOG.md",
},
entry_points={
"console_scripts": [
"secretloom=stegoforge:app",
"stegoforge=stegoforge:app",
]
},
)