-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (23 loc) · 756 Bytes
/
setup.py
File metadata and controls
27 lines (23 loc) · 756 Bytes
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
from distutils.core import setup
from glob import glob
# noinspection PyUnresolvedReferences,PyPackageRequirements
import py2exe # type: ignore
import _meta as app
with open('manifest.xml') as f:
manifest = f.read()
setup(console=[dict(
script='main.py',
icon_resources=[(0, app.__icon__)],
other_resources=[(24, 1, manifest)],
)],
name=app.__product_name__,
version=app.__version__,
author=app.__author__,
description="Inverts colors when you open blindingly white windows",
data_files=[('.', ["update.bat", "StartupTaskTemplate.xml"]),
('./img', glob('img/*'))],
options=dict(
py2exe=dict(
includes='pystray._win32'
)
))