Skip to content

Commit f9d82cd

Browse files
authoredMar 4, 2020
Add files via upload
0 parents  commit f9d82cd

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed
 

‎LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) [2020] [Kaixiang Zhao]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎setup.py

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
from setuptools import setup, find_packages
2+
3+
4+
CLASSIFIERS = [
5+
'Intended Audience :: Science/Research',
6+
'License :: OSI Approved :: MIT License',
7+
'Programming Language :: Python :: 3',
8+
'Topic :: Scientific/Engineering',
9+
'Topic :: Software Development :: Libraries',
10+
'Topic :: System :: Hardware',
11+
'Operating System :: POSIX :: Linux'
12+
13+
]
14+
15+
PACKAGES = [
16+
'stage',
17+
'stage/motor_ini',
18+
'stage/motor_ctrl',
19+
'stage/ctrl_msg'
20+
]
21+
22+
setup(name = 'PyStage-APT',
23+
version = '0.0.0',
24+
url = 'https://github.com/kzhao1228/pystage_apt',
25+
license = 'MIT',
26+
author = 'Kaixiang Zhao',
27+
author_email = 'kz1619@ic.ac.uk',
28+
description = 'A Python library for Thorlabs\' APT stage controllers',
29+
long_description = 'pystage_apt is a python library to control various Thorlabs\' APT stage controllers with single channel',
30+
platforms = '[Linux]',
31+
packages = PACKAGES,
32+
install_requires = ['pyusb>=1.0.0a','pyserial>=2.7'],
33+
classifiers = CLASSIFIERS,
34+
python_requires = '>=3',
35+
data_files = [('',['LICENSE.txt'])],
36+
zip_safe = False
37+
)
38+
39+

0 commit comments

Comments
 (0)
Please sign in to comment.