- Move auth, user, and music clients into new clients package - Update imports to use new module paths - Add __init__.py to expose clients from package - Clean up code formatting and imports - Add pre-commit configuration for code quality checks
60 lines
2.0 KiB
Python
60 lines
2.0 KiB
Python
"""Setup script for songbox API Client Library"""
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
# with open("songbox/requirements.txt", "r", encoding="utf-8") as fh:
|
|
# requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
|
|
|
requirements = ["httpx==0.28.1", "boto3==1.38.32"]
|
|
|
|
setup(
|
|
name="songbox",
|
|
version="1.0.0",
|
|
author="CustomIcon",
|
|
author_email="custom.icon@vk.com",
|
|
description="A Python client library for a music streaming API",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://git.cubable.date/CustomIcon/songbox",
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Multimedia :: Sound/Audio",
|
|
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
|
],
|
|
python_requires=">=3.7",
|
|
install_requires=requirements,
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=6.0",
|
|
"pytest-asyncio",
|
|
"black",
|
|
"flake8",
|
|
"mypy",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"songbox=songbox.__main__:main",
|
|
],
|
|
},
|
|
keywords="songbox music api client streaming maldives",
|
|
project_urls={
|
|
"Bug Reports": "https://git.cubable.date/CustomIcon/songbox/issues",
|
|
"Source": "https://git.cubable.date/CustomIcon/songbox",
|
|
"Documentation": "https://git.cubable.date/CustomIcon/songbox/src/branch/master/README.md",
|
|
},
|
|
)
|