forked from FreeOpcUa/opcua-asyncio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (50 loc) · 2.17 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
47
48
49
50
51
52
53
from setuptools import setup, find_packages
import sys
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# don't require pytest-runner unless we have been invoked as a test launch
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup(
name="asyncua",
version="0.9.94",
description="Pure Python OPC-UA client and server library",
long_description=long_description,
long_description_content_type='text/markdown',
author="Olivier Roulet-Dubonnet",
author_email="[email protected]",
url='http://freeopcua.github.io/',
packages=find_packages(exclude=["tests"]),
provides=["asyncua"],
license="GNU Lesser General Public License v3 or later",
install_requires=["aiofiles", "aiosqlite", "python-dateutil", "pytz", "cryptography", "sortedcontainers", "importlib-metadata;python_version<'3.8'"],
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
'console_scripts': [
'uaread = asyncua.tools:uaread',
'uals = asyncua.tools:uals',
'uabrowse = asyncua.tools:uals',
'uawrite = asyncua.tools:uawrite',
'uasubscribe = asyncua.tools:uasubscribe',
'uahistoryread = asyncua.tools:uahistoryread',
'uaclient = asyncua.tools:uaclient',
'uaserver = asyncua.tools:uaserver',
'uadiscover = asyncua.tools:uadiscover',
'uacall = asyncua.tools:uacall',
'uageneratestructs = asyncua.tools:uageneratestructs',
]
},
setup_requires=[] + pytest_runner,
tests_require=['pytest', 'pytest-mock', 'asynctest'],
)