forked from ScientificDataFormat/SDF-Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (24 loc) · 1.05 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
from setuptools import setup
def readme():
""" Get the content of README.rst without the CI badges """
with open('README.rst') as f:
lines = f.readlines()
while not lines[0].startswith("Scientific Data Format"):
lines = lines[1:]
return ''.join(lines)
setup(name='SDF',
version='0.3.6',
description="Work with Scientific Data Format files in Python",
long_description=readme(),
url="https://github.com/ScientificDataFormat/SDF-Python",
author="Torsten Sommer",
author_email='[email protected]',
license="Standard 3-clause BSD",
packages=['sdf', 'sdf.examples', 'sdf.plot'],
package_data={'sdf': ['examples/IntegerNetwork1.mat',
'win32/ndtable.dll',
'win64/ndtable.dll',
'linux64/libndtable.so',
'darwin64/libNDTable.dylib']},
platforms=['darwin64', 'linux64', 'win32', 'win64'],
install_requires=['numpy>=2', 'h5py', 'matplotlib', 'scipy'])