old_contents: from distutils.core import setup
  from distutils.command.install import INSTALL_SCHEMES
  import os
  
  root = os.path.dirname(os.path.abspath(__file__))
  os.chdir(root)
  
  VERSION = '1.2'
  
  # Make data go to the right place.
  # http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
  for scheme in INSTALL_SCHEMES.values():
      scheme['data'] = scheme['purelib']
  
  
  setup(
      name='django-location-field',
      version=VERSION,
      description="Location field for Django",
      long_description="This module provides a location field for Django applications.",
      author="Caio Ariede",
      author_email="caio.ariede@gmail.com",
      url="http://github.com/caioariede/django-location-field",
      license="MIT License",
      platforms=["any"],
      packages=['location_field'],
      #data_files=[(template_dir, templates)],
      classifiers=[
          "Development Status :: 3 - Alpha",
          "Environment :: Web Environment",
          "Intended Audience :: Developers",
          "License :: OSI Approved :: MIT License",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
          "Framework :: Django",
      ],
      include_package_data=True,
  )
  
new_contents: from distutils.core import setup
  from distutils.command.install import INSTALL_SCHEMES
  import os
  
  root = os.path.dirname(os.path.abspath(__file__))
  os.chdir(root)
  
  VERSION = __import__('location_field').__version__
  
  # Make data go to the right place.
  # http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
  for scheme in INSTALL_SCHEMES.values():
      scheme['data'] = scheme['purelib']
  
  
  setup(
      name='django-location-field',
      version=VERSION,
      description="Location field for Django",
      long_description="This module provides a location field for Django applications.",
      author="Caio Ariede",
      author_email="caio.ariede@gmail.com",
      url="http://github.com/caioariede/django-location-field",
      license="MIT License",
      platforms=["any"],
      packages=['location_field'],
      package_data={'location_field': ['static/location_field/js/*.js',],},
      classifiers=[
          "Development Status :: 3 - Alpha",
          "Environment :: Web Environment",
          "Intended Audience :: Developers",
          "License :: OSI Approved :: MIT License",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
          "Framework :: Django",
      ],
      include_package_data=True,
  )
  
subject: Add package_data to setup.py forms.js weren't shipped and this cause errors on the app, use __version__ from the same module