-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
49 lines (42 loc) · 1.38 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
'''
Created on 16/12/2015
@author: luisza
'''
from setuptools import setup, find_packages
import os
CLASSIFIERS = [
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# Dynamically calculate the version based on django.VERSION.
version = __import__('crdist').get_version()
setup(
author='Luis Zarate Montero',
author_email='[email protected]',
name='crdist',
version=version,
description='Costa Rican Geografic distribution for model admin in Django.',
long_description=README,
url='https://github.com/solvo/crdist',
license='GNU General Public License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'setuptools',
'django>=1.8',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False
)