-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CC-5990, CC-5991 - Python cleanup, removed need for /usr/lib/airtime
- Loading branch information
Showing
115 changed files
with
249 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from setuptools import setup | ||
from subprocess import call | ||
import sys | ||
import os | ||
|
||
script_path = os.path.dirname(os.path.realpath(__file__)) | ||
print script_path | ||
os.chdir(script_path) | ||
|
||
setup(name='api_clients', | ||
version='1.0', | ||
description='Airtime API Client', | ||
url='http://github.com/sourcefabric/Airtime', | ||
author='sourcefabric', | ||
license='AGPLv3', | ||
packages=['api_clients'], | ||
scripts=[], | ||
install_requires=[ | ||
# 'amqplib', | ||
# 'anyjson', | ||
# 'argparse', | ||
'configobj' | ||
# 'docopt', | ||
# 'kombu', | ||
# 'mutagen', | ||
# 'poster', | ||
# 'PyDispatcher', | ||
# 'pyinotify', | ||
# 'pytz', | ||
# 'wsgiref' | ||
], | ||
zip_safe=False, | ||
data_files=[]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
...ia-monitor/media-monitor/media_monitor.py → ...s/media-monitor/media_monitor/__main__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import logging | ||
import time | ||
import sys | ||
import os | ||
import mm2.mm2 as mm2 | ||
from std_err_override import LogWriter | ||
|
||
global_cfg = '/etc/airtime/airtime.conf' | ||
logging_cfg = '/usr/lib/airtime/media-monitor/logging.cfg' | ||
logging_cfg = os.path.join(os.path.dirname(__file__), 'logging.cfg') | ||
|
||
mm2.main( global_cfg, logging_cfg ) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ia-monitor2/media/metadata/definitions.py → ...monitor/mm2/media/metadata/definitions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
.../media-monitor2/media/metadata/process.py → ...dia-monitor/mm2/media/metadata/process.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
21 changes: 10 additions & 11 deletions
21
...r/media-monitor2/media/monitor/airtime.py → ...edia-monitor/mm2/media/monitor/airtime.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...media-monitor2/media/monitor/bootstrap.py → ...ia-monitor/mm2/media/monitor/bootstrap.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...monitor2/media/monitor/eventcontractor.py → ...itor/mm2/media/monitor/eventcontractor.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ia-monitor2/media/monitor/eventdrainer.py → ...monitor/mm2/media/monitor/eventdrainer.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nitor/media-monitor2/media/monitor/log.py → ...ps/media-monitor/mm2/media/monitor/log.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
...r/media-monitor2/media/monitor/manager.py → ...edia-monitor/mm2/media/monitor/manager.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.