This repository was archived by the owner on Jan 6, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.33 KB
/
setup.py
File metadata and controls
42 lines (38 loc) · 1.33 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
from cx_Freeze import Executable, setup
import datetime
import os
executables = [Executable("main.py", target_name="kma_score_dumper",
copyright="{} Dang Hoang Phuc".format(datetime.date.today().year))]
include_files = [
os.path.abspath(os.path.join("data", "baseStructure.sql")),
os.path.abspath(os.path.join("data", "subjectNameMapping.csv"))
]
options = {
"build_exe": {
"excludes": [],
"zip_include_packages": ["*"],
"zip_exclude_packages": [],
"packages": ["fitz", "tqdm", "pdfplumber", "pandas", "loguru", "numpy", "charset_normalizer"],
"include_files": include_files
},
"bdist_rpm": {
# "packages": ["fitz", "tqdm", "pdfplumber", "pandas", "loguru", "numpy", "charset_normalizer"],
# "include_files": include_files
},
"bdist_mac": {
"zip_include_packages": ["*"],
"packages": ["fitz", "tqdm", "pdfplumber", "pandas", "loguru", "numpy", "charset_normalizer"],
"include_files": include_files
}
}
setup(
name="kma_score_dumper",
version="1.0",
description="KMA Score Dumper",
executables=executables,
options=options,
packages=[],
author="Dang Hoang Phuc",
author_email="13364457+phuchptty@users.noreply.github.com",
url="https://github.com/KMA-Score/KMA-Score-Extractor"
)