Skip to content

Commit

Permalink
Merge pull request #10 from mjiggidy/py3.7-fixes
Browse files Browse the repository at this point in the history
Py3.7 fixes
  • Loading branch information
mjiggidy committed Jun 27, 2022
2 parents 447fe45 + 29e6af5 commit 47ea9d3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3.7"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
Expand Down
2 changes: 1 addition & 1 deletion adderlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__all__ = ["adder","channels","devices","urlhandlers","users","presets"]
__version__ = "1.0.2"
__version__ = "1.0.3"
2 changes: 1 addition & 1 deletion adderlib/adder.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def getChannels(self, id:typing.Optional[str]=None, name:typing.Optional[str]=""
yield AdderChannel(channel)

def createChannel(self,
name:str, description:typing.Optional[str]=None, location:typing.Optional[str]=None, modes:typing.Optional[list[AdderChannel.ConnectionMode]]=None,
name:str, description:typing.Optional[str]=None, location:typing.Optional[str]=None, modes:typing.Optional[typing.List[AdderChannel.ConnectionMode]]=None,
video1:typing.Optional[AdderTransmitter]=None, video1_head:typing.Optional[int]=None,
video2:typing.Optional[AdderTransmitter]=None, video2_head:typing.Optional[int]=None,
audio:typing.Optional[AdderTransmitter]=None, usb:typing.Optional[AdderTransmitter]=None, serial:typing.Optional[AdderTransmitter]=None,
Expand Down
41 changes: 21 additions & 20 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,30 @@

# Thanks https://realpython.com/pypi-publish-python-package/
setup(
name="adderlib",
version="1.0.2",
description="Python wrapper for the Adder API, for use with Adderlink KVM systems",
long_description=README,
long_description_content_type="text/markdown",
url="https://adderlib.readthedocs.io/",
download_url="https://github.com/mjiggidy/adderlib/",
author="Michael Jordan",
author_email="michael@glowingpixel.com",
license="GNU General Public License v3 or later (GPLv3+)",
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
name="adderlib",
version="1.0.3",
python_requires=">=3.7",
description="Python wrapper for the Adder API, for use with Adderlink KVM systems",
long_description=README,
long_description_content_type="text/markdown",
url="https://adderlib.readthedocs.io/",
download_url="https://github.com/mjiggidy/adderlib/",
author="Michael Jordan",
author_email="michael@glowingpixel.com",
license="GNU General Public License v3 or later (GPLv3+)",
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Topic :: Multimedia",
"Topic :: Internet",
"Topic :: Utilities",
"Topic :: Utilities",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Natural Language :: English"
],
packages=["adderlib"],
include_package_data=True,
install_requires=["requests", "xmltodict"]
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Natural Language :: English"
],
packages=["adderlib"],
include_package_data=True,
install_requires=["requests", "xmltodict==0.12.0"]
)

0 comments on commit 47ea9d3

Please sign in to comment.