forked from openSUSE/planet.opensuse.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rawdog
executable file
·37 lines (32 loc) · 1.37 KB
/
rawdog
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
#!/usr/bin/env python
# rawdog: RSS aggregator without delusions of grandeur.
# Copyright 2003, 2004, 2005, 2006 Adam Sampson <[email protected]>
#
# rawdog is free software; you can redistribute and/or modify it
# under the terms of that license as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# rawdog is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with rawdog; see the file COPYING. If not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA, or see http://www.gnu.org/.
import sys, os
sys.path.insert(0, os.path.join(os.path.abspath(os.curdir), "libs", "jinja"))
sys.path.insert(0, os.path.join(os.path.abspath(os.curdir), "libs"))
#for lib in ('lib', 'lib64'):
# sys.path.insert(0, os.path.join(os.path.abspath(os.curdir), "libs", lib, "python%s.%s" % (sys.version_info[:2]), "site-packages"))
from rawdoglib.rawdog import main
def launch():
sys.exit(main(sys.argv[1:]))
if __name__ == "__main__":
if os.getenv("RAWDOG_PROFILE") is not None:
import profile
profile.run("launch()")
else:
launch()