mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
* Add python_requires to help pip * Update supported versions in tox.ini * Upgrade Python syntax with pyupgrade --py37-plus * Bump GitHub Actions * Add Python 3.11 and 3.12 to CI * Remove six dependency * Remove redundant dependencies * Remove redudant Python 3.5 code * Drop support for EOL Python 3.7 * Upgrade Python syntax with pyupgrade --py38-plus * Update CHANGELOG * More f-strings --------- Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
41 lines
864 B
Python
41 lines
864 B
Python
from setuptools import setup
|
|
|
|
with open("README.md") as f:
|
|
long_description = f.read()
|
|
|
|
test_reqs = [
|
|
'mock==2.0.0'
|
|
]
|
|
|
|
doc_reqs = [
|
|
'Sphinx>=1.5.2'
|
|
]
|
|
|
|
extra_reqs = {
|
|
'doc': doc_reqs,
|
|
'test': test_reqs
|
|
}
|
|
|
|
setup(
|
|
name='spotipy',
|
|
version='2.23.0',
|
|
description='A light weight Python library for the Spotify Web API',
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
author="@plamere",
|
|
author_email="paul@echonest.com",
|
|
url='https://spotipy.readthedocs.org/',
|
|
project_urls={
|
|
'Source': 'https://github.com/plamere/spotipy',
|
|
},
|
|
python_requires='>3.8',
|
|
install_requires=[
|
|
"redis>=3.5.3",
|
|
"requests>=2.25.0",
|
|
"urllib3>=1.26.0"
|
|
],
|
|
tests_require=test_reqs,
|
|
extras_require=extra_reqs,
|
|
license='MIT',
|
|
packages=['spotipy'])
|