Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (42 sloc) 1.588 kb
from setuptools import setup
import os
file_dir = os.path.dirname(__file__)
if file_dir: os.chdir(file_dir)
packages = []
for dirpath, dirnames, filenames in os.walk('mapit'):
if '__init__.py' in filenames:
packages.append(dirpath.replace('/', '.'))
setup(
name='django-mapit',
version='1.0.0pr3',
description='A web service for mapping postcodes and points to current or past administrative area information and polygons.',
long_description=open('README.rst').read(),
author='mySociety',
author_email='mapit@mysociety.org',
url='https://github.com/mysociety/mapit',
license='LICENSE.txt',
# TODO: Use find_packages from setuptools
packages=packages,
# TODO: Use include_package_data=True from setuptools
package_data={
'mapit': [
'templates/mapit/*.html',
'templates/*/mapit/*.html',
'static/mapit/*',
'fixtures/*.json',
'sql/*.sql',
] },
install_requires=[ 'distribute', 'python-memcached', 'Django', 'PyYAML', 'psycopg2', 'South', 'GDAL' ],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Topic :: Database :: Front-Ends',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Scientific/Engineering :: GIS',
],
zip_safe=False, # So that easy_install doesn't make an egg
)
Jump to Line
Something went wrong with that request. Please try again.