forked from BYUCamachoLab/pyrolab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
97 lines (84 loc) · 3.16 KB
/
Copy pathsetup.py
File metadata and controls
97 lines (84 loc) · 3.16 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# -*- coding: utf-8 -*-
#
# Copyright © PyroLab Project Contributors
# Licensed under the terms of the GNU GPLv3+ License
# (see pyrolab/__init__.py for details)
"""
PyroLab
A framework for using remote lab instruments as local resources, built on Pyro5.
"""
import io
import sys
import setuptools
# ==============================================================================
# Constants
# ==============================================================================
NAME = "PyroLab"
LIBNAME = "pyrolab"
# ==============================================================================
# Auxiliary functions
# ==============================================================================
extra_files = []
extra_files += ["*.ini"]
# ==============================================================================
# Use README for long description
# ==============================================================================
with io.open("README.md", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
# ==============================================================================
# Setup arguments
# ==============================================================================
setup_args = dict(
name=NAME,
version="0.1.1",
author="Sequoia Ploeg",
maintainer="Sequoia Ploeg",
maintainer_email="sequoia.ploeg@ieee.org",
url="https://github.com/BYUCamachoLab/pyrolab",
description="A framework for using remote lab instruments as local resources built on Pyro5",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
# download_url=__website_url__ + "",
license="GPLv3+",
keywords="laboratory instrumentation hardware science remote network integration",
platforms=["Windows", "Linux", "Mac OS-X"],
packages=setuptools.find_packages(),
package_data={"": extra_files},
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
],
python_requires=">=3.6",
)
install_requires = [
"Pyro5",
"deprecation",
"numpy",
"scipy",
]
extras_require = {
"tsl550": ["pyserial",],
"oscope": ["pyvisa",],
# "kinesis": ["thorlabs-kinesis",],
"test": ["pytest",],
}
if "setuptools" in sys.modules:
setup_args["install_requires"] = install_requires
setup_args["extras_require"] = extras_require
# ==============================================================================
# Main setup
# ==============================================================================
setuptools.setup(**setup_args)