-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (52 loc) · 1.53 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (52 loc) · 1.53 KB
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
from setuptools import setup, find_namespace_packages
def _read(f):
"""
Reads in the content of the file.
:param f: the file to read
:type f: str
:return: the content
:rtype: str
"""
return open(f, 'rb').read()
setup(
name="spectral_data_converter",
description="Python3 library for converting (and filtering) spectral data in various formats.",
long_description=(
_read('DESCRIPTION.rst') + b'\n' +
_read('CHANGES.rst')).decode('utf-8'),
url="https://github.com/waikato-datamining/spectral-data-converter",
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering',
],
license='MIT License',
package_dir={
'': 'src'
},
packages=find_namespace_packages(where='src'),
install_requires=[
"setuptools",
"seppl>=0.3.1",
"kasperl>=0.0.2",
"wai_logging",
"wai_common>=0.0.45",
"wai_spectralio>=0.0.5",
"wai_ma",
],
version="0.1.0",
author='Peter Reutemann',
author_email='fracpete@waikato.ac.nz',
entry_points={
"console_scripts": [
"sdc-convert=sdc.tool.convert:sys_main",
"sdc-exec=sdc.tool.exec:sys_main",
"sdc-find=sdc.tool.find:sys_main",
"sdc-help=sdc.tool.help:sys_main",
"sdc-registry=sdc.registry:sys_main",
"sdc-test-generator=sdc.tool.test_generator:sys_main",
],
"class_lister": [
"sdc=sdc.class_lister",
],
},
)