aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-15 03:09:17 +0200
committerMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-15 03:09:17 +0200
commitac531e0ca0b17902821966530629e434d0cdf9f7 (patch)
tree79610f0cd53fa20555c7adc43ee51ef8ba78ad62
parent3c471f39667477fcdd83efb44dad4fc3968ca535 (diff)
downloadpyParrotZikTCP-ac531e0ca0b17902821966530629e434d0cdf9f7.tar.xz
pyParrotZikTCP-ac531e0ca0b17902821966530629e434d0cdf9f7.zip
Make names more pythonic
-rw-r--r--indicator.py (renamed from SysIndicator.py)2
-rw-r--r--parrot_zik.py (renamed from ParrotZik.py)0
-rwxr-xr-xparrot_zik_tray (renamed from ParrotZikTray)16
-rw-r--r--setup.py6
-rw-r--r--status_app_mac.py (renamed from StatusAppMac.py)0
5 files changed, 12 insertions, 12 deletions
diff --git a/SysIndicator.py b/indicator.py
index 6aa4686..05ffec7 100644
--- a/SysIndicator.py
+++ b/indicator.py
@@ -10,7 +10,7 @@ elif sys.platform == "darwin":
from Foundation import *
from AppKit import *
from PyObjCTools import AppHelper
- from StatusAppMac import StatusApp
+ from status_app_mac import StatusApp
class BaseIndicator(object):
diff --git a/ParrotZik.py b/parrot_zik.py
index 52414b5..52414b5 100644
--- a/ParrotZik.py
+++ b/parrot_zik.py
diff --git a/ParrotZikTray b/parrot_zik_tray
index d5b113c..f6cc4a0 100755
--- a/ParrotZikTray
+++ b/parrot_zik_tray
@@ -5,15 +5,15 @@ from threading import Lock
import gtk
import bluetooth_paired_devices
-from ParrotZik import BatteryStates
-from ParrotZik import ParrotZikVersion1
-from ParrotZik import ParrotZikVersion2
-from ParrotZik import NoiseControlTypes
+from parrot_zik import BatteryStates
+from parrot_zik import ParrotZikVersion1
+from parrot_zik import ParrotZikVersion2
+from parrot_zik import NoiseControlTypes
from bluetooth_paired_devices import connect
-from ParrotZik import Rooms
-from SysIndicator import MenuItem
-from SysIndicator import Menu
-from SysIndicator import SysIndicator
+from parrot_zik import Rooms
+from indicator import MenuItem
+from indicator import Menu
+from indicator import SysIndicator
import resource_manager
REFRESH_FREQUENCY = 30000
diff --git a/setup.py b/setup.py
index 9bb3ae7..7156620 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ setup(
windows=[
{
- 'script': 'ParrotZikTray',
+ 'script': 'parrot_zik_tray',
'icon_resources': [(1, "./share/icons/zik/Headphone.ico")],
}
],
@@ -43,7 +43,7 @@ setup(
'BeautifulSoup', 'bluetooth'
],
- py_modules=['ParrotZik', 'message', 'resource_manager'],
+ py_modules=['parrot_zik', 'message', 'resource_manager'],
- scripts=["ParrotZikTray"]
+ scripts=["parrot_zik_tray"]
)
diff --git a/StatusAppMac.py b/status_app_mac.py
index dccffe4..dccffe4 100644
--- a/StatusAppMac.py
+++ b/status_app_mac.py