-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
33 lines (27 loc) · 898 Bytes
/
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
#!/usr/bin/env python
import os.path
import distutils.core
# Don't import vectortile here, that would create loops. Just load
# this one file that doesn't import anything.
versionpy = os.path.join(os.path.split(os.path.abspath(__file__))[0], "vectortile/version.py")
version = {}
execfile(versionpy, version)
with open('README.md') as f:
readme = f.read()
with open('requirements.txt') as f:
requirements = [l for l in f.readlines() if l]
distutils.core.setup(
name='vectortile',
description="A set of classes for managing tiles of geospatial vector data",
long_description=readme,
packages=[
'vectortile',
'vectortile.tests'
],
install_requires=requirements,
version=version['__version__'],
author=version['__author__'],
author_email=version['__author_email__'],
url=version['__source__'],
license=version['__license__']
)