diff options
author | Dmitry Moiseev <m0sia@m0sia.ru> | 2013-11-18 16:15:20 +0600 |
---|---|---|
committer | Dmitry Moiseev <m0sia@m0sia.ru> | 2013-11-18 16:15:20 +0600 |
commit | e5b0f4ad9a6b2b373ba543fe5b6763d10854919b (patch) | |
tree | 6c7fee514f5e16b246d7c7b467626edea464b31e | |
parent | 3a1152f6cbb7d166c5a03698cee61bcac2b9a440 (diff) | |
download | pyParrotZikTCP-e5b0f4ad9a6b2b373ba543fe5b6763d10854919b.tar.xz pyParrotZikTCP-e5b0f4ad9a6b2b373ba543fe5b6763d10854919b.zip |
Added stdeb support
-rw-r--r-- | setup.py | 38 |
1 files changed, 28 insertions, 10 deletions
@@ -1,16 +1,26 @@ -from distutils.core import setup
+from setuptools import setup
import glob
-import py2exe
+import sys
+
+if sys.platform=="win32":
+ import py2exe
+ from distutils.core import setup
+
setup(
name = 'parrotziktray',
- description = 'Parrot Zik Tray',
- version = '0.1',
+ description = 'Parrot Zik Tray Indicator',
+ author="Dmitry Moiseev",
+ author_email="m0sia@m0sia.ru",
+ maintainer_email="m0sia@m0sia.ru",
+ url="https://github.com/m0sia/pyParrotZik",
+ license="'GPLv2+'",
+ version = '0.2',
windows = [
{
- 'script': 'ParrotZikTray.py',
- 'icon_resources': [(1, "./icons/Headphone.ico")],
+ 'script': 'ParrotZikTray',
+ 'icon_resources': [(1, "./share/icons/zik/Headphone.ico")],
}
],
@@ -21,11 +31,19 @@ setup( 'includes': 'cairo, pango, pangocairo, atk, gobject, gio, gtk.keysyms, _winreg',
}
},
-
+
data_files=[
- ("icons", glob.glob("icons/*.png"))
+ ("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'),
- ]
-)
\ No newline at end of file + ],
+
+ install_requires=[
+ 'BeautifulSoup','bluetooth'
+ ],
+
+ py_modules=['ParrotZik','ParrotProtocol'],
+
+ scripts=["ParrotZikTray"]
+)
|