Revision 3faf9498
| /dev/null | ||
|---|---|---|
| 1 |
[Desktop Entry] |
|
| 2 |
Encoding=UTF-8 |
|
| 3 |
Version=1.0 |
|
| 4 |
Type=Application |
|
| 5 |
Exec=maugis.py |
|
| 6 |
TryExec= |
|
| 7 |
Icon=gnome-talk.png |
|
| 8 |
X-GNOME-DocPath= |
|
| 9 |
Terminal=false |
|
| 10 |
Name[en]=maugis |
|
| 11 |
GenericName[en]=maugis |
|
| 12 |
Comment[en]=maugis |
|
| 13 |
Name=maugis |
|
| 14 |
GenericName=maugis |
|
| 15 |
Comment=maugis |
|
| 16 |
Categories=Application;AudioVideo;Audio; |
|
| /dev/null | ||
|---|---|---|
| 1 |
#!/usr/bin/env python |
|
| 2 |
# -*- coding: utf-8 -*- |
|
| 3 |
# |
|
| 4 |
# Scenic |
|
| 5 |
# Copyright (C) 2008 Société des arts technologiques (SAT) |
|
| 6 |
# http://www.sat.qc.ca |
|
| 7 |
# All rights reserved. |
|
| 8 |
# |
|
| 9 |
# This file is free software: you can redistribute it and/or modify |
|
| 10 |
# it under the terms of the GNU General Public License as published by |
|
| 11 |
# the Free Software Foundation, either version 2 of the License, or |
|
| 12 |
# (at your option) any later version. |
|
| 13 |
# |
|
| 14 |
# Scenic is distributed in the hope that it will be useful, |
|
| 15 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 16 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 17 |
# GNU General Public License for more details. |
|
| 18 |
# |
|
| 19 |
# You should have received a copy of the GNU General Public License |
|
| 20 |
# along with Scenic. If not, see <http://www.gnu.org/licenses/>. |
|
| 21 |
""" |
|
| 22 |
Executable script which calls scenic.runner.run() |
|
| 23 |
""" |
|
| 24 |
from scenic import runner |
|
| 25 |
if __name__ == "__main__": |
|
| 26 |
runner.run() |
|
| b/py/maugis/scenic.desktop | ||
|---|---|---|
| 1 |
[Desktop Entry] |
|
| 2 |
Encoding=UTF-8 |
|
| 3 |
Version=1.0 |
|
| 4 |
Type=Application |
|
| 5 |
Exec=scenic |
|
| 6 |
Icon=gnome-talk.png |
|
| 7 |
X-GNOME-DocPath= |
|
| 8 |
Terminal=false |
|
| 9 |
Name=Scenic |
|
| 10 |
Name[en]=Scenic |
|
| 11 |
Comment=High-Quality Audio-Video Streaming for GNU/Linux |
|
| 12 |
Comment[en]=High-Quality Audio-Video Streaming for GNU/Linux |
|
| 13 |
Categories=Application;AudioVideo;Internet; |
|
| b/py/maugis/scripts/scenic | ||
|---|---|---|
| 1 |
#!/usr/bin/env python |
|
| 2 |
# -*- coding: utf-8 -*- |
|
| 3 |
# |
|
| 4 |
# Scenic |
|
| 5 |
# Copyright (C) 2008 Société des arts technologiques (SAT) |
|
| 6 |
# http://www.sat.qc.ca |
|
| 7 |
# All rights reserved. |
|
| 8 |
# |
|
| 9 |
# This file is free software: you can redistribute it and/or modify |
|
| 10 |
# it under the terms of the GNU General Public License as published by |
|
| 11 |
# the Free Software Foundation, either version 2 of the License, or |
|
| 12 |
# (at your option) any later version. |
|
| 13 |
# |
|
| 14 |
# Scenic is distributed in the hope that it will be useful, |
|
| 15 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 16 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 17 |
# GNU General Public License for more details. |
|
| 18 |
# |
|
| 19 |
# You should have received a copy of the GNU General Public License |
|
| 20 |
# along with Scenic. If not, see <http://www.gnu.org/licenses/>. |
|
| 21 |
""" |
|
| 22 |
Executable script which calls scenic.runner.run() |
|
| 23 |
""" |
|
| 24 |
import os |
|
| 25 |
import sys |
|
| 26 |
|
|
| 27 |
SCRIPTS_DIR = "scripts" |
|
| 28 |
|
|
| 29 |
def _is_in_devel(): |
|
| 30 |
d = os.path.split(os.path.dirname(os.path.abspath(__file__)))[1] |
|
| 31 |
return d == SCRIPTS_DIR |
|
| 32 |
|
|
| 33 |
if __name__ == "__main__": |
|
| 34 |
if _is_in_devel(): |
|
| 35 |
d = os.path.split(os.path.dirname(os.path.abspath(__file__)))[0] |
|
| 36 |
sys.path.insert(0, d) |
|
| 37 |
os.environ["PATH"] += ":%s" % (os.path.join(d, SCRIPTS_DIR)) |
|
| 38 |
from scenic import runner |
|
| 39 |
runner.run() |
|
| b/py/maugis/setup.py | ||
|---|---|---|
| 37 | 37 |
description = "Scenic, interface to the milhouse streaming tool.", |
| 38 | 38 |
long_description = """Scenic software, a component of the PropulseART project |
| 39 | 39 |
Requires: twisted, simplejson.""", |
| 40 |
install_requires = [], #'twisted'], # , 'nevow'] |
|
| 41 |
# The dependency to the 'nevow' package is not specified here, since there is a bug |
|
| 42 |
# in nevow, which installs it using easy_install even when the nevow ubuntu package is already installed. |
|
| 43 |
# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475440 |
|
| 44 |
# we removed twisted as well, since we prefer the user to install it himself. |
|
| 45 |
scripts = ["maugis.py"], |
|
| 40 |
install_requires = [], #'twisted'], |
|
| 41 |
scripts = ["scripts/scenic"], |
|
| 46 | 42 |
license = "GPL", |
| 47 | 43 |
platforms = ["any"], |
| 48 | 44 |
zip_safe = False, |
Also available in: Unified diff