forked from CityofSantaMonica/mds-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (45 loc) · 1.39 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
import os
import re
from setuptools import find_packages, setup
READMEFILE = "README.md"
VERSIONFILE = os.path.join("mds", "_version.py")
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
def get_version():
verstrline = open(VERSIONFILE, "rt").read()
mo = re.search(VSRE, verstrline, re.M)
if mo:
return mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % VERSIONFILE)
setup(
name="mds_provider",
version=get_version(),
description="Tools for working with Mobility Data Specification Provider data",
long_description=open(READMEFILE).read(),
url="https://github.com/CityofSantaMonica/mds-provider",
author="City of Santa Monica and contributors",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=[
"Fiona",
"jsonschema >= 3.0.0a2",
"numpy",
"pandas",
"psycopg2-binary",
"requests",
"scipy",
"Shapely",
"sqlalchemy"
],
classifiers=[
"Environment :: Docker",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Natural Language :: English",
],
)