forked from awslabs/DefectDetectionApplication
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (19 loc) · 638 Bytes
/
setup.py
File metadata and controls
23 lines (19 loc) · 638 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os
from setuptools import setup
# Declare your non-python data files:
# Files underneath configuration/ will be copied into the build preserving the
# subdirectory structure if they exist.
data_files = []
for root, dirs, files in os.walk("configuration"):
data_files.append(
(os.path.relpath(root, "configuration"), [os.path.join(root, f) for f in files])
)
for root, dirs, files in os.walk("src/backend"):
data_files.append(
(os.path.relpath(root, "src/backend"), [os.path.join(root, f) for f in files])
)
setup(
# include data files
data_files=data_files,
py_modules=['app']
)