forked from feihoo87/QuLab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
86 lines (79 loc) · 2.46 KB
/
setup.py
File metadata and controls
86 lines (79 loc) · 2.46 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
import platform
from codecs import open
from os import getcwd, getenv, listdir, path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# This reads the __version__ variable from lab/_version.py
exec(open('qulab/_version.py').read())
requirements = [
'aioredis>=1.2.0',
'blinker>=1.4',
'cryptography>=2.6.1',
'ipython>=7.4.0',
'ipywidgets>=7.4.2',
'mongoengine>=0.17.0',
'nest-asyncio>=1.0.0',
'numpy>=1.13.3',
'scipy>=1.0.0',
'portalocker>=1.4.0',
'PyVISA>=1.9.1',
'PyVISA-py>=0.3.1',
'PyYAML>=5.1',
'pyzmq>=18.0.1',
'redis>=3.2.1',
'contextvars;python_version<"3.7"',
'dataclasses;python_version<"3.7"',
]
if platform.system() == 'Windows':
requirements.extend([
'pywin32>=224'
])
setup(
name="QuLab",
version=__version__,
author="feihoo87",
author_email="feihoo87@gmail.com",
url="https://github.com/feihoo87/QuLab",
license = "MIT",
keywords="experiment laboratory",
description="contral instruments and manage data",
long_description=long_description,
long_description_content_type='text/markdown',
packages = find_packages(),
include_package_data = True,
#data_files=[('QuLab/Drivers', driverFiles)],
install_requires=requirements,
extras_require={
'test': [
'pytest>=4.4.0',
'pytest-asyncio>=0.10.0',
'pyvisa-sim>=0.3',
],
'docs': [
'Sphinx',
'sphinxcontrib-napoleon',
'sphinxcontrib-zopeext',
],
},
python_requires='>=3.6',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
project_urls={ # Optional
'Bug Reports': 'https://github.com/feihoo87/QuLab/issues',
'Source': 'https://github.com/feihoo87/QuLab/',
},
)