More request tests added.

development dependencies added to setup.py

fix error in __init__

kind parameter for get_input_list in reqclient now optional.

request tests create/destroy test scenes on setup/teardown.

license, isort, black badges added to readme.
This commit is contained in:
onyx-and-iris
2022-07-30 16:37:07 +01:00
parent 87c4e3cdcd
commit 064a4aa11d
7 changed files with 199 additions and 82 deletions

View File

@@ -1,39 +1,50 @@
import pathlib
from setuptools import setup, find_packages
from setuptools import find_packages, setup
HERE = pathlib.Path(__file__).parent
VERSION = '1.0.1'
PACKAGE_NAME = 'obsstudio_sdk'
AUTHOR = 'Adem Atikturk'
AUTHOR_EMAIL = 'aatikturk@gmail.com'
URL = 'https://github.com/aatikturk/obsstudio_sdk'
LICENSE = 'GNU General Public License v3.0'
DESCRIPTION = 'A Python SDK for OBS Studio WebSocket v5.0'
VERSION = "1.0.1"
PACKAGE_NAME = "obsstudio_sdk"
AUTHOR = "Adem Atikturk"
AUTHOR_EMAIL = "aatikturk@gmail.com"
URL = "https://github.com/aatikturk/obsstudio_sdk"
LICENSE = "GNU General Public License v3.0"
DESCRIPTION = "A Python SDK for OBS Studio WebSocket v5.0"
LONG_DESCRIPTION = (HERE / "README.md").read_text()
LONG_DESC_TYPE = "text/markdown"
# Dependencies for the package
INSTALL_REQUIRES = [
'websocket-client'
]
INSTALL_REQUIRES = ["websocket-client"]
# Development dependencies
EXTRAS_REQUIRES = {
"dev": [
"pytest",
"pytest-randomly",
"black",
"isort",
]
}
# Python version requirement
PYTHON_REQUIRES = '>=3.11'
PYTHON_REQUIRES = ">=3.11"
setup(name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
python_requires=PYTHON_REQUIRES,
packages=find_packages()
)
setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRES,
python_requires=PYTHON_REQUIRES,
packages=find_packages(),
)