-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
49 lines (43 loc) · 1.89 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
from setuptools import setup, find_packages
LONG_DESC = """\
This library allows you to access 1wire buses with Python, using any
async library (trio, asyncio, curio).
This code does *not* try to talk to any 1wire interface by itself; it
uses TCP port 4304 (by default) to access one or more ``owserver``\\ s.
Bus enumeration (when starting up, plus periodically in the background
if desired) is automatic and can be turned off.
This code supports background polling, alerts, and simultaneous
conversions. Bus couplers (DS2509) are handled transparently. Accessors to
device attributes are created from device descriptors, read from
``owserver`` and augmented by device-specific classes when necessary.
The name of this library is (a) historic, (b) its main author strongly
prefers Trio.
"""
setup(
name="asyncowfs",
use_scm_version={"version_scheme": "guess-next-dev", "local_scheme": "dirty-tag"},
setup_requires=["setuptools_scm"],
description="Async access to 1wire (asyncio,trio,curio)",
url="https://github.com/smurfix/asyncowfs",
long_description=LONG_DESC,
author="Matthias Urlichs",
author_email="[email protected]",
license="MIT -or- Apache License 2.0",
packages=find_packages(),
install_requires=["anyio >=2"],
keywords=["trio", "async", "io", "networking"],
python_requires=">=3.5.3",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: AsyncIO",
"Framework :: Trio",
],
)