forked from adamreeve/npTDMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (52 loc) · 1.67 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
import os
from setuptools import setup
def read_version():
here = os.path.abspath(os.path.dirname(__file__))
version_path = os.path.sep.join((here, "nptdms", "version.py"))
v_globals = {}
v_locals = {}
exec(open(version_path).read(), v_globals, v_locals)
return v_locals['__version__']
setup(
name = 'npTDMS',
version = read_version(),
description = ("Cross-platform, NumPy based module for reading "
"TDMS files produced by LabView."),
author = 'Adam Reeve',
author_email = '[email protected]',
url = 'https://github.com/adamreeve/npTDMS',
packages = ['nptdms', 'nptdms.export', 'nptdms.test'],
long_description=open('README.rst').read(),
license = 'LGPL',
classifiers = [
'Development Status :: 4 - Beta',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Intended Audience :: Science/Research',
'Natural Language :: English',
],
install_requires = ['numpy'],
extras_require = {
'test': [
'pytest>=3.1.0',
'hypothesis',
'pytest-benchmark',
'thermocouples_reference',
'scipy',
],
'pandas': ['pandas'],
'hdf': ['h5py>=2.10.0'],
'thermocouple_scaling': [], # Kept for backwards compatibility
},
entry_points = """
[console_scripts]
tdmsinfo=nptdms.tdmsinfo:main
"""
)