forked from mysociety/mapit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (42 loc) · 1.58 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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.0pr2',
description='A web service for mapping postcodes and points to current or past administrative area information and polygons.',
long_description=open('README').read(), # TODO: Put this into ReST format
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
)