forked from submarcos/django-vectortiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
59 lines (54 loc) · 1.81 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
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(HERE, 'README.md')).read()
CHANGES = open(os.path.join(HERE, 'CHANGES.md')).read()
test_require = [
'factory-boy',
'flake8',
'coverage',
'psycopg2-binary' # for dev and test only. in production, use psycopg2
]
setup(
name='django-vectortiles',
version=open(os.path.join(HERE, 'vectortiles', 'VERSION.md')).read().strip(),
include_package_data=True,
author="Jean-Etienne Castagnede",
description='Django vector tile generation',
long_description=README + '\n\n' + CHANGES,
description_content_type="text/markdown",
long_description_content_type="text/markdown",
packages=find_packages(),
url='https://github.com/submarcos/django-vectortiles.git',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
python_requires='>=3.6',
install_requires=[
'django',
'mercantile'
],
tests_require=test_require,
extras_require={
'test': test_require,
'dev': test_require + [
'django-debug-toolbar', 'mapbox_vector_tile', 'sphinx-rtd-theme'
],
'mapbox': [
'mapbox_vector_tile'
],
}
)