-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
54 lines (46 loc) · 1.7 KB
/
setup.py
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
44
45
46
47
48
49
50
51
52
53
54
import glob
import sys
if sys.platform == "win32":
import py2exe
from distutils.core import setup
else:
from setuptools import setup
setup(
name='parrotziktray',
description='Parrot Zik Tray Indicator',
author="Dmitry Moiseev",
author_email="[email protected]",
maintainer_email="[email protected]",
url="https://github.com/m0sia/pyParrotZik",
license="'GPLv2+'",
version='0.3',
windows=[
{
'script': 'parrot_zik/parrot_zik_tray.py',
'icon_resources': [(1, "./share/icons/zik/Headphone.ico")],
}
],
options={
'py2exe': {
#'packages':'encodings',
# Optionally omit gio, gtk.keysyms, and/or rsvg if you're not using them
'includes': 'cairo, pango, pangocairo, atk, gobject, gio, gtk.keysyms, _winreg',
'dll_excludes': ['MSVCP90.dll', 'wbtapi.dll', 'irprops.cpl', 'crypt32.dll', 'MSIMG32.DLL', 'NSI.DLL', 'USP10.DLL', 'DNSAPI.DLL'] }
},
data_files=[
("share/icons/zik", glob.glob("share/icons/zik/*.png"))
# If using GTK+'s built in SVG support, uncomment these
#os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'gdk-pixbuf-query-loaders.exe'),
#os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'libxml2-2.dll'),
],
install_requires=[
'beautifulsoup4', 'pybluez'
],
packages=['parrot_zik', 'parrot_zik.interface', 'parrot_zik.indicator', 'parrot_zik.model'],
entry_points={
'console_scripts': [
'parrot_zik_tray=parrot_zik.parrot_zik_tray:ParrotZikIndicator.main',
]
},
include_package_data=True,
)