예제 #1
0
 def setUp(self):
     self.parser = cli.setup_parser()
     self.profile_path = tempfile.mkdtemp()
     profile = Profile(self.profile_path, 'testing')
     self.db = profile.get_database()
     for talk in self.presentations:
         self.db.insert_presentation(talk)
예제 #2
0
 def setUp(self):
     self.parser = cli.setup_parser()
     self.profile_path = tempfile.mkdtemp()
     profile = Profile(self.profile_path, 'testing')
     self.db = profile.get_database()
     for talk in self.presentations:
         self.db.insert_presentation(talk)
예제 #3
0
def main():
    """Main method for Freeseer

    This is also necessary for entry_point > console_scripts to be able to
    generate the console scripts for Freeseer (setup.py).
    """
    from freeseer.frontend import cli

    parser = cli.setup_parser()
    cli.parse_args(parser)
예제 #4
0
def main():
    """Main method for Freeseer

    This is also necessary for entry_point > console_scripts to be able to
    generate the console scripts for Freeseer (setup.py).
    """
    from freeseer.frontend import cli

    parser = cli.setup_parser()
    cli.parse_args(parser)
예제 #5
0
파일: __main__.py 프로젝트: rton/freeseer
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# freeseer - vga/presentation capture software
#
#  Copyright (C) 2013  Free and Open Source Software Learning Centre
#  http://fosslc.org
#
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.

# For support, questions, suggestions or any other inquiries, visit:
# http://wiki.github.com/Freeseer/freeseer/

from freeseer.frontend import cli

parser = cli.setup_parser()
cli.parse_args(parser)