forked from mapbox/vector-tile-base
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (34 loc) · 1.08 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
from setuptools import setup, find_packages
import sys, os
# Parse the version from the vector tile base module.
with open('vector_tile_base/__init__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
continue
setup(name='vector_tile_base',
version=version,
description="Python implementation of Mapbox vector tiles",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='',
author='Sean Gillies',
author_email='[email protected]',
url='https://github.com/mapbox/vector-tile-base',
license='BSD',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
'protobuf'
],
extras_require={
'test': ['pytest'],
},
entry_points="""
# -*- Entry points: -*-
""",
)