This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
56 lines (50 loc) · 1.67 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
"""Setup module to initialize the project
"""
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
def find_version(*file_paths):
with open(os.path.join(here, *file_paths), 'r') as f:
for line in f:
if line.startswith('__version__'):
return line.strip().split('=')[1].strip(' \'"')
raise RuntimeError(("Unable to find version string. "
"Should be __init__.py."))
with open('README.md', 'rb') as f:
readme = f.read().decode('utf-8')
install_requires = [
"numpy<=1.16.2",
"pandas<=0.25.0",
"pillow<=7.1.2",
"luigi<=2.8.2",
"psycopg2<=2.7.5",
"sh<=1.12.14",
"requests<=2.21.0",
]
setup(
name='osm-deep-labels',
keywords=['OpenStreetMap', 'Overpass API', 'raster'],
version=find_version('osm_deep_labels', '__init__.py'),
description='',
long_description=readme,
license='MIT',
author='Oslandia',
author_email='[email protected]',
maintainer='Oslandia',
maintainer_email='',
url='https://github.com/Oslandia/osm-deep-labels',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Image rendering',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
],
python_requires='>=3',
install_requires=install_requires,
packages=find_packages(),
)