This repository has been archived by the owner on May 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
76 lines (70 loc) · 2.18 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- coding: utf-8 -*-
# Import modules
from setuptools import find_packages, setup
with open("README.md", encoding="utf8") as readme_file:
readme = readme_file.read()
# Packages for installation
common = [
"numpy",
"pandas",
"loguru",
"sqlalchemy==1.3.2",
"geoalchemy2",
"pytz",
]
test_requirements = ["pytest==3.6.4", "pytest-cov", "flake8==3.5.0", "tox"]
# Warehouse-specific installations
extras = {
"bq": [
"google-cloud-bigquery[pandas,pyarrow]==1.9.0",
"pybigquery",
"pyarrow==0.12.1",
],
"sqlite": [],
"psql": [],
}
# `pip install geomancer` will install everything
requirements = common + extras["bq"] + extras["sqlite"] + extras["psql"]
setup(
name="geomancer",
version="1.1.0",
description="Automated Geospatial Feature Engineering Library",
long_description=readme,
long_description_content_type="text/markdown",
author="Thinking Machines Data Science",
author_email="hello@thinkingmachin.es",
url="https://github.com/thinkingmachines/geomancer",
packages=find_packages(exclude=["docs", "tests"]),
include_package_data=True,
install_requires=requirements,
tests_require=test_requirements,
extras_require=extras,
dependency_links=[
"git://github.com/thinkingmachines/pybigquery.git@gis#egg=pybigquery"
],
license="MIT license",
zip_safe=False,
keywords=[
"osm",
"python client",
"geospatial",
"bigquery",
"machine learning",
"feature engineering",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.5",
],
test_suite="tests",
)