-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.yaml
43 lines (37 loc) · 911 Bytes
/
install.yaml
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
# stages:
# ======
# pre_build: Execute before build of the package.
# pre_install: Before install of the package.
# post_install: After install of the package.
# pre_uninstall: Before uninstall of the package,
# before files are deleted.
version: '1'
# Files or directories to be deployed
# as a package
targets:
- apps/
- shared/
# Ignore patterns
ignore:
- '*/__pycache__'
# Extra files or directories to be added to the package
extras:
- install/dist
- install/requirements.txt
# Section only for Windows
win:
extras:
- install/install.bat
pre_build:
- 'install\\build.bat {python}'
post_install:
- 'install\\install.bat {python} {dest}'
# Section only for linux
linux:
extras:
- install/install.sh
pre_build:
- 'install/build.sh {python}'
post_install:
- 'chmod +x install/install.sh'
- 'install/install.sh {python} {dest}'