-
Notifications
You must be signed in to change notification settings - Fork 1
/
appbuild.py
21 lines (19 loc) · 850 Bytes
/
appbuild.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from distutils.core import setup
import glob
import py2exe, sys, os
sys.argv.append('py2exe')
setup(
install_requires=['tensorflow','pygame','numpy'], #external packages as dependencies
console=["myscript.py"],
data_files=[("tictactoe", glob.glob("models\\pretrained_model\\*"))
("tictactoe", glob.glob("logs\\.keep"))
("tictactoe", glob.glob("figures\\.keep"))
("snake", glob.glob("models\\pretrained_model\\*"))
("snake", glob.glob("logs\\.keep"))
("snake", glob.glob("figures\\.keep"))
("spaceinvaders", glob.glob("models\\pretrained_model\\*"))
("spaceinvaders", glob.glob("logs\\.keep"))
("spaceinvaders", glob.glob("figures\\.keep"))
("resources", glob.glob("\\*"))
],
)