From: Armin Ronacher Date: Fri, 26 Jul 2013 16:11:03 +0000 (+0200) Subject: Preparing for release X-Git-Tag: 1.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3942d0323268090911eeb5de77e562a4fcdc5758;p=thirdparty%2Fbabel.git Preparing for release --- diff --git a/CHANGES b/CHANGES index 1b6f9ca0..d56632ad 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,7 @@ Babel Changelog Version 1.0 ----------- -(codename to be decided, release date to be announced) +(codename Revival, released on July 26th 2013) - support python 2.6, 2.7, 3.3+ and pypy - drop all other versions - use tox for testing on different pythons diff --git a/babel/__init__.py b/babel/__init__.py index 5cca4a8e..1704afab 100644 --- a/babel/__init__.py +++ b/babel/__init__.py @@ -21,11 +21,4 @@ from babel.core import UnknownLocaleError, Locale, default_locale, \ negotiate_locale, parse_locale, get_locale_identifier -try: - from pkg_resources import get_distribution, ResolutionError - try: - __version__ = get_distribution('Babel').version - except ResolutionError: - __version__ = None # unknown -except ImportError: - __version__ = None # unknown +__version__ = '1.0-dev' diff --git a/setup.py b/setup.py index bea52ba5..80719481 100755 --- a/setup.py +++ b/setup.py @@ -31,17 +31,17 @@ class import_cldr(Command): setup( - name = 'Babel', - version = '1.0', - description = 'Internationalization utilities', - long_description = \ + name='Babel', + version='1.0-dev', + description='Internationalization utilities', + long_description=\ """A collection of tools for internationalizing Python applications.""", - author = 'Armin Ronacher', - author_email = 'armin.ronacher@active-4.com', - license = 'BSD', - url = 'http://babel.pocoo.org/', + author='Armin Ronacher', + author_email='armin.ronacher@active-4.com', + license='BSD', + url='http://babel.pocoo.org/', - classifiers = [ + classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Intended Audience :: Developers', @@ -51,18 +51,18 @@ setup( 'Programming Language :: Python :: 3', 'Topic :: Software Development :: Libraries :: Python Modules', ], - packages = ['babel', 'babel.messages', 'babel.localtime'], - package_data = {'babel': ['global.dat', 'localedata/*.dat']}, + packages=['babel', 'babel.messages', 'babel.localtime'], + package_data={'babel': ['global.dat', 'localedata/*.dat']}, install_requires=[ 'pytz', ], - cmdclass = {'build_doc': build_doc, 'test_doc': test_doc, - 'import_cldr': import_cldr}, + cmdclass={'build_doc': build_doc, 'test_doc': test_doc, + 'import_cldr': import_cldr}, - zip_safe = False, + zip_safe=False, - entry_points = """ + entry_points=""" [console_scripts] pybabel = babel.messages.frontend:main