-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
50 lines (47 loc) · 1.61 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
#!/usr/bin/env python
import setuptools
setuptools.setup(
name='libsgfdata',
version='0.0.22',
description='Parser for Swedish Geotechnical Society data format',
long_description="""Parser for data from geotechnical field
investigations in the data format specified in Report 3:2012E from
the Swedish Geotechnical Society, see
http://www.sgf.net/web/page.aspx?refid=2678 for how to download
this report.""",
long_description_content_type="text/markdown",
author='Egil Moeller',
author_email='[email protected]',
url='https://github.com/emerald-geomodelling/libsgfdata',
packages=setuptools.find_packages(),
include_package_data=True,
package_data={'libsgfdata': ['*/*.csv']},
install_requires=[
"numpy",
"pandas",
"python-slugify",
"python-dateutil",
"charset-normalizer"
],
extras_require = {
"cmd": [
"click"
],
"dtm": [
"pyproj",
"rasterio",
"geopandas",
"terrainy"
],
},
entry_points = {
'libsgfdata.parsers': ['sgf=libsgfdata.parser:parse'],
'libsgfdata.dumpers': ['sgf=libsgfdata.dumper:dump'],
'libsgfdata.transforms': ['sample_dtm=libsgfdata.cmd_dtm:sample_dtm',
'normalize=libsgfdata.cmd_normalize:cmd_normalize',
'depth=libsgfdata.cmd_depth:cmd_depth',
'depth_to_material=libsgfdata.cmd_depth_to_material:depth_to_material'
],
'console_scripts': ['sgfdata=libsgfdata.cmd:main'],
}
)