update setup.py
This commit is contained in:
20
setup.py
20
setup.py
@@ -1,17 +1,29 @@
|
|||||||
import setuptools
|
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",
|
setuptools.setup(name="librespot-spotizerr",
|
||||||
version="0.1.0",
|
version="0.1.0",
|
||||||
description="Spotizerr's python librespot implementation",
|
description="Spotizerr's python librespot implementation",
|
||||||
long_description=open("README.md").read(),
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
author="Xoconoch",
|
author="Xoconoch",
|
||||||
url="https://github.com/Xoconoch/librespot-spotizerr",
|
url="https://github.com/Xoconoch/librespot-spotizerr",
|
||||||
license="Apache-2.0",
|
license="Apache-2.0", # SPDX identifier
|
||||||
packages=setuptools.find_packages("."),
|
packages=setuptools.find_packages("."),
|
||||||
install_requires=open("requirements.txt").read().splitlines(),
|
install_requires=install_requires,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 1 - Planning",
|
"Development Status :: 1 - Planning",
|
||||||
"License :: OSI Approved :: Apache Software License",
|
# "License :: OSI Approved :: Apache Software License", # Removed
|
||||||
"Topic :: Multimedia :: Sound/Audio"
|
"Topic :: Multimedia :: Sound/Audio"
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user