update setup.py

This commit is contained in:
cool.gitter.not.me.again.duh
2025-05-31 16:31:34 -06:00
parent 1962129522
commit a9e9074c26

View File

@@ -1,17 +1,29 @@
import setuptools
import os
# Get the directory where setup.py is located
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Get the dependencies from the requirements file
with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
install_requires = f.read().splitlines()
setuptools.setup(name="librespot-spotizerr",
version="0.1.0",
description="Spotizerr's python librespot implementation",
long_description=open("README.md").read(),
long_description=long_description,
long_description_content_type="text/markdown",
author="Xoconoch",
url="https://github.com/Xoconoch/librespot-spotizerr",
license="Apache-2.0",
license="Apache-2.0", # SPDX identifier
packages=setuptools.find_packages("."),
install_requires=open("requirements.txt").read().splitlines(),
install_requires=install_requires,
classifiers=[
"Development Status :: 1 - Planning",
"License :: OSI Approved :: Apache Software License",
# "License :: OSI Approved :: Apache Software License", # Removed
"Topic :: Multimedia :: Sound/Audio"
])