generated from edmundsj/tabularasa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (44 loc) · 1.29 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
import setuptools
import os
import glob
example_data = glob.glob('scippy/examples/*')
source_data = glob.glob('scippy/source/*')
test_data = glob.glob('scippy/test/*')
total_data = example_data + source_data + test_data
package_data = [x.replace('scippy/', '') for x in total_data]
#raise ValueError(f'PACKAGE DATA: {package_data}')
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scippy",
version="0.1." + str(os.environ['GITHUB_RUN_NUMBER']),
author="Jordan Edmunds",
author_email="[email protected]",
description="Python package for communication with SCPI-based instruments",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/edmundsj/scippy",
packages=setuptools.find_packages(),
include_package_data=True,
package_data={
"scippy": package_data
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=[
'numpy>=1.14.5',
'matplotlib>=2.0.0',
'pandas>=0.24.0',
'scipy>=1.2.2',
'pyyaml>=5.1.1',
'pint>=0.16.0',
'sciparse',
'pyvisa',
'pyserial',
],
license="MIT",
)