forked from ken1row/PyOptoSigma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·59 lines (47 loc) · 1.55 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·59 lines (47 loc) · 1.55 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
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import sys
if sys.version_info[0] < 3:
raise Exception('This module only supports Python 3.4 or later. Try use `python3 setup.py`')
from setuptools import setup
long_description = '''
Python module for operating stepping moter stages manufactured by OptoSigma and Sigma Koki.
Requirements
------------
* Python 3.4 or later. (Python 2.x are not supported.)
* pyserial
Setup
-----
::
$ sudo pip3 pyserial pyOptoSigma
* In Ubuntu systems, add an user to dialout group.
::
$ sudo gpasswd -a [username] dialout
History
-------
0.1 (2016-5-28)
~~~~~~~~~~~~~~~
* First release.
* Supports SHOT-702, SHOT-302GS, SHOT-304GS controllers.
* Supports SGSP, OSMS series stages.
'''
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Manufacturing',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only'
]
setup(
name = 'pyOptoSigma',
version = '0.1',
py_modules = ['pyOptoSigma'],
description = 'Python module for operating stepping moter stages manufactured by OptoSigma and Sigma Koki.',
long_description = long_description,
classifiers = classifiers,
keywords=['OptoSigma', 'Sigma Koki', 'シグマ光機', 'translation stages', 'rotation stages'],
author = 'Kenichiro Tanaka',
author_email = 'tanaka@am.sanken.osaka-u.ac.jp',
url = 'https://github.com/ken1row/PyOptoSigma',
license='MIT'
)