-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
57 lines (47 loc) · 1.43 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
#!/usr/bin/python
# coding: utf8
from setuptools import find_packages
import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open("jpgisdem/__init__.py", "r") as f:
version = re.search(r'^__version__ = "([\d\.] )"', f.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError("Cannot find version information")
with open("README.md") as f:
readme = f.read()
setup(
name="jpgis-dem",
version=version,
description="Convert JPGIS .xml DEM files to geotiffs.",
long_description=readme,
long_description_content_type='text/markdown',
url="https://github.com/gpxz/jpgis-dem",
download_url="https://github.com/gpxz/jpgis-dem",
author="Andrew Nisbet",
author_email="[email protected]",
license="The MIT License",
package_data={"": ["LICENSE", "README.md"]},
packages=find_packages(),
py_modules=["jpgisdem"],
install_requires=[
"Click",
],
entry_points={
"console_scripts": [
"jpgis-dem = jpgisdem:cli",
],
},
keywords="elevation",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
],
)