2022-06-05 12:40:55 +01:00
|
|
|
import pathlib
|
2022-07-30 16:37:07 +01:00
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
2022-06-05 12:40:55 +01:00
|
|
|
|
|
|
|
HERE = pathlib.Path(__file__).parent
|
|
|
|
|
|
|
|
|
2022-08-05 13:30:12 +01:00
|
|
|
VERSION = "1.0.2"
|
2022-07-30 16:37:07 +01:00
|
|
|
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"
|
2022-06-05 12:40:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
LONG_DESCRIPTION = (HERE / "README.md").read_text()
|
|
|
|
LONG_DESC_TYPE = "text/markdown"
|
|
|
|
|
|
|
|
# Dependencies for the package
|
2022-07-30 16:37:07 +01:00
|
|
|
INSTALL_REQUIRES = ["websocket-client"]
|
|
|
|
|
|
|
|
# Development dependencies
|
2022-07-30 16:40:27 +01:00
|
|
|
EXTRAS_REQUIRE = {
|
2022-07-30 16:37:07 +01:00
|
|
|
"dev": [
|
|
|
|
"pytest",
|
|
|
|
"pytest-randomly",
|
|
|
|
"black",
|
|
|
|
"isort",
|
|
|
|
]
|
|
|
|
}
|
2022-06-05 12:40:55 +01:00
|
|
|
|
|
|
|
# Python version requirement
|
2022-07-30 16:37:07 +01:00
|
|
|
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,
|
2022-07-30 16:40:27 +01:00
|
|
|
extras_require=EXTRAS_REQUIRE,
|
2022-07-30 16:37:07 +01:00
|
|
|
python_requires=PYTHON_REQUIRES,
|
|
|
|
packages=find_packages(),
|
|
|
|
)
|