-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
51 lines (46 loc) · 1 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
#!/usr/bin/env python3
from subprocess import check_output
from setuptools import setup
with open("illum/__init__.py") as f:
info = {}
for line in f:
if line.startswith("__version__"):
exec(line, info)
break
gdal_version = check_output(["gdalinfo", "--version"]).decode().split(",")[0].split()[1]
setup(
name="illum",
version=info["__version__"],
packages=["illum"],
install_requires=[
"astropy",
"Click",
"fiona",
"gdal==" + gdal_version,
"geopandas",
"GitPython",
"h5py",
"matplotlib",
"numpy",
"osmnx",
"pandas",
"pillow",
"progressbar2",
"pyproj",
"pyyaml",
"scipy<1.14",
"xmltodict",
],
extras_require={
"dev": [
"black",
"flake8",
"ipython",
"isort",
],
},
entry_points="""
[console_scripts]
illum=illum.main:illum
""",
)