Commits

Matthew Schinckel  committed 92bd82d

Updated version number.

  • Participants
  • Parent commits 074b5a9
  • Tags 1.6.0

Comments (0)

Files changed (2)

File django_countries/__init__.py

-from django_countries.fields import CountryField
+__version__ = "1.6.0"
+
+try:
+    from django_countries.fields import CountryField
+except ImportError:
+    pass
 import os
 from setuptools import setup, find_packages
 
+import django_countries
 
 def long_description():
     """
 
 
 setup(name='django-countries',
-      version='1.5.2',
+      version=django_countries.__version__,
       description='Provides a country field for Django models.',
       long_description=long_description(),
       author='Matthew Schinckel',
       package_data={'django_countries': [
         'bin/*.py', 
         'static/countries/flags/*.gif',
-        'static/countries/js/*',
         'locale/*/LC_MESSAGES/*',
     ]},
     # titlecase PYPI is broken, copied the module directly for now (in /bin)