calibre/setup/commands.py
2009-09-08 17:33:58 -06:00

52 lines
1.1 KiB
Python

#!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
from __future__ import with_statement
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
__all__ = [
'pot', 'translations', 'get_translations', 'iso639',
'build',
'gui',
'develop', 'install',
'resources',
'check',
'sdist',
'manual',
]
from setup.translations import POT, GetTranslations, Translations, ISO639
pot = POT()
translations = Translations()
get_translations = GetTranslations()
iso639 = ISO639()
from setup.extensions import Build
build = Build()
from setup.install import Develop, Install, Sdist
develop = Develop()
install = Install()
sdist = Sdist()
from setup.gui import GUI
gui = GUI()
from setup.check import Check
check = Check()
from setup.resources import Resources
resources = Resources()
from setup.publish import Manual
manual = Manual()
commands = {}
for x in __all__:
commands[x] = locals()[x]
command_names = dict(zip(commands.values(), commands.keys()))