-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (53 loc) · 1.64 KB
/
setup.py
File metadata and controls
60 lines (53 loc) · 1.64 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from pathlib import Path
from setuptools import setup
README_PATH = Path(__file__).parent / "README.md"
LONG_DESCRIPTION = README_PATH.read_text(encoding="utf-8")
PACKAGE_ROOT = Path(__file__).parent / "reComputer"
def package_files(root: Path):
files = []
for path in root.rglob("*"):
if not path.is_file():
continue
if "__pycache__" in path.parts:
continue
if path.suffix in {".pyc", ".pyo"}:
continue
files.append(path.relative_to(PACKAGE_ROOT).as_posix())
return sorted(files)
setup(
name="jetson-examples",
version="0.2.2",
author="luozhixin",
author_email="zhixin.luo@seeed.cc",
description="Running Gen AI models and applications on NVIDIA Jetson devices with one-line command",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
python_requires=">=3.8",
keywords=[
"llama",
"llava",
"gpt",
"llm",
"nvidia",
"jetson",
"multimodal",
"jetson orin",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=["reComputer"],
include_package_data=True,
package_data={"reComputer": package_files(PACKAGE_ROOT / "scripts")},
entry_points={
"console_scripts": [
"reComputer=reComputer.main:run_script",
]
},
project_urls={
"Homepage": "https://github.com/Seeed-Projects/jetson-examples",
"Issues": "https://github.com/Seeed-Projects/jetson-examples/issues",
},
)