forked from python-ivi/python-usbtmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (41 loc) · 1.6 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
from __future__ import with_statement
# http://docs.python.org/distutils/
# http://packages.python.org/distribute/
try:
from setuptools import setup
except:
from distutils.core import setup
import os.path
version_py = os.path.join(os.path.dirname(__file__), 'usbtmc', 'version.py')
with open(version_py, 'r') as f:
d = dict()
exec(f.read(), d)
version = d['__version__']
setup(
name = 'python-usbtmc',
description = 'Python USBTMC driver for controlling instruments over USB',
version = version,
long_description = '''This Python package supports the USBTMC instrument
control protocol for controlling instruments over USB.''',
author = 'Alex Forencich',
author_email = 'alex@alexforencich.com',
url = 'http://alexforencich.com/wiki/en/python-usbtmc/start',
download_url = 'http://github.com/python-ivi/python-usbtmc/tarball/master',
keywords = 'USB USBTMC measurement instrument',
license = 'MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Hardware :: Hardware Drivers',
'Topic :: System :: Networking',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'
],
packages = ['usbtmc']
)