forked from caioariede/django-location-field
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (33 loc) · 1.18 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
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.1'
# 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="Codasus Technologies",
author_email="contact@codasus.com",
url="http://github.com/codasus/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,
)