forked from laspy/laspy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (51 loc) · 1.65 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
from setuptools import setup, find_packages
with open("README.md") as f:
readme = f.read()
__version__ = None
# Get __version without importing
with open("laspy/__init__.py", "r") as fp:
# get and exec just the line which looks like "__version__ = '0.9.4'"
exec(next(line for line in fp if "__version__" in line))
setup(
name="laspy",
version=__version__,
description="Native Python ASPRS LAS read/write library",
license="BSD",
keywords="gis lidar las",
author="Grant Brown, Thomas Montaigu",
author_email="[email protected], [email protected]",
url="https://github.com/laspy/laspy",
long_description=readme,
long_description_content_type="text/markdown",
packages=find_packages(exclude=("tests",)),
python_requires=">=3.7",
install_requires=["numpy"],
extras_require={
"dev": [
"pytest",
"coverage",
"sphinx",
"sphinx-rtd-theme",
"nox",
"black==22.3.0",
"pytest-benchmark",
"m2r2",
"rangehttpserver",
],
"lazrs": ["lazrs>=0.5.0, < 0.6.0"],
"laszip": ["laszip >= 0.2.1, < 0.3.0"],
"pyproj": ["pyproj"],
"requests": ["requests"],
},
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: GIS",
],
)