forked from labjack/LabJackPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (55 loc) · 2.13 KB
/
setup.py
File metadata and controls
60 lines (55 loc) · 2.13 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
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from os import path
if sys.version_info[:2] < (2, 6):
msg = ("LabJackPython requires Python 2.6 or later. "
"You are using version %s. Please "
"install using a supported version." % sys.version)
sys.stderr.write(msg)
sys.exit(1)
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development',
'Topic :: Software Development :: Embedded Systems',
'Topic :: System :: Hardware'
]
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(name='sti-LabJackPython',
version='2.0.0.post1',
description='The LabJack Python modules for the LabJack U3, U6, UE9 and U12.',
long_description=long_description,
long_description_content_type='text/markdown',
license='MIT X11',
url='https://labjack.com/support/software/examples/ud/labjackpython',
author='LabJack Corporation',
author_email='support@labjack.com',
maintainer='Erich Beyer',
maintainer_email='erich.beyer@servertech.com',
classifiers=CLASSIFIERS,
package_dir = {'': 'src'},
py_modules=['LabJackPython', 'Modbus', 'u3', 'u6', 'ue9', 'u12'],
project_urls={
'Source': 'https://github.com/badboybeyer/sti-LabJackPython',
},
)