Skip to content

Commit

Permalink
Add ISO 3166 country codes
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Apr 17, 2014
1 parent b4f677c commit 0753e90
Show file tree
Hide file tree
Showing 5 changed files with 1,749 additions and 3 deletions.
5 changes: 3 additions & 2 deletions setup/commands.py
Expand Up @@ -7,7 +7,7 @@
__docformat__ = 'restructuredtext en'

__all__ = [
'pot', 'translations', 'get_translations', 'iso639',
'pot', 'translations', 'get_translations', 'iso639', 'iso3166',
'build', 'server', 'mathjax',
'gui',
'develop', 'install',
Expand All @@ -25,11 +25,12 @@
]


from setup.translations import POT, GetTranslations, Translations, ISO639
from setup.translations import POT, GetTranslations, Translations, ISO639, ISO3166
pot = POT()
translations = Translations()
get_translations = GetTranslations()
iso639 = ISO639()
iso3166 = ISO3166()

from setup.extensions import Build
build = Build()
Expand Down
2 changes: 1 addition & 1 deletion setup/install.py
Expand Up @@ -56,7 +56,7 @@ class Develop(Command):
short_description = 'Setup a development environment for calibre'
MODE = 0o755

sub_commands = ['build', 'resources', 'iso639', 'gui',]
sub_commands = ['build', 'resources', 'iso639', 'iso3166', 'gui',]

def add_postinstall_options(self, parser):
parser.add_option('--make-errors-fatal', action='store_true', default=False,
Expand Down

0 comments on commit 0753e90

Please sign in to comment.