Move to setup.cfg with stub setup.py

This commit is contained in:
Frank de Lange 2022-02-16 18:43:05 +00:00
parent 5924199bb9
commit 1d27721e83
2 changed files with 31 additions and 33 deletions

29
setup.cfg Normal file
View file

@ -0,0 +1,29 @@
[metadata]
name = spodcast
version = 0.3.5
description = A caching Spotify podcast to RSS proxy.
long_description = file:README.md
long_description_content_type = text/markdown
url = https://github.com/Yetangitu/spodcast.git
project_urls =
Bug Tracker = https://github.com/Yetangitu/spodcast/issues
author = yetangitu
author_email = github-f@unternet.org
licence = GPLv3
classifiers =
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language :: Python :: 3.9
Programming Language :: PHP
platforms = any
[options]
packages =
spodcast
install_requires =
librespot >= 0.0.1
include_package_data =
True
[options.entry_points]
console_scripts:
spodcast = spodcast.__main__:main

View file

@ -1,35 +1,4 @@
import pathlib
from setuptools import setup
import setuptools
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# This call to setup() does all the work
setup(
name="spodcast",
version="0.3.3",
description="A caching Spotify podcast to RSS proxy.",
long_description='README.md',
long_description_content_type="text/markdown",
url="https://github.com/Yetangitu/spodcast.git",
author="yetangitu",
author_email="github-f@unternet.org",
licence="GPLv3",
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.9",
"Programming Language :: PHP"
],
packages=['spodcast'],
entry_points ={
'console_scripts': [
'spodcast=spodcast.__main__:main'
]
},
install_requires=['librespot @ https://github.com/kokarare1212/librespot-python/archive/refs/heads/rewrite.zip'],
include_package_data=True,
)
if __name__ == "__main__":
setup()