1 | from setuptools import setup, find_packages |
||
2 | |||
3 | import sys |
||
4 | |||
5 | if sys.version_info[0] < 3: |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() |
|||
6 | install_requires = ["enum34", "trollius", "futures"] |
||
7 | else: |
||
8 | install_requires = [] |
||
9 | |||
10 | setup(name="freeopcua", |
||
11 | version="0.10.11", |
||
12 | description="Pure Python OPC-UA client and server library", |
||
13 | author="Olivier Roulet-Dubonnet", |
||
14 | author_email="[email protected]", |
||
15 | url='http://freeopcua.github.io/', |
||
16 | packages=find_packages(), |
||
17 | provides=["opcua"], |
||
18 | license="GNU Lesser General Public License v3 or later", |
||
19 | install_requires=install_requires, |
||
20 | extras_require={ |
||
21 | 'encryption': ['cryptography'] |
||
22 | }, |
||
23 | classifiers=["Programming Language :: Python", |
||
24 | "Programming Language :: Python :: 3", |
||
25 | "Programming Language :: Python :: 2", |
||
26 | "Development Status :: 4 - Beta", |
||
27 | "Intended Audience :: Developers", |
||
28 | "Operating System :: OS Independent", |
||
29 | "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", |
||
30 | "Topic :: Software Development :: Libraries :: Python Modules", |
||
31 | ], |
||
32 | entry_points={'console_scripts': |
||
33 | [ |
||
34 | 'uaread = opcua.tools:uaread', |
||
35 | 'uals = opcua.tools:uals', |
||
36 | 'uabrowse = opcua.tools:uals', |
||
37 | 'uawrite = opcua.tools:uawrite', |
||
38 | 'uasubscribe = opcua.tools:uasubscribe', |
||
39 | 'uahistoryread = opcua.tools:uahistoryread', |
||
40 | 'uaclient = opcua.tools:uaclient', |
||
41 | 'uaserver = opcua.tools:uaserver', |
||
42 | 'uadiscover = opcua.tools:uadiscover' |
||
43 | ] |
||
44 | } |
||
45 | ) |
||
46 | |||
47 |