-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor setup.py. Add setup.cfg. modify issue & PR templates. (#1096)
* Transition to setup.cfg rather than setup.py * Update setup.cfg * add packages * Add Readme to PyPi * Spacing * Delete oldsetup.py * Drop Version Support for Py3.6 * Update as for #1098 * Fix Critical Error in setup.py Had comma separated list rather than semi colon. Prevented setup.py from functioning * Add 3.9 classifier * Update setup.cfg * Drop py3.6 support * Re-add Py3.6 support * Change Email * Remove `requests` * add tqdm to requirements * Fix Line Lengths in bug report template it was annoying me lol * Update and rename pull_request_template.md to PULL_REQUEST_TEMPLATE.md
- Loading branch information
1 parent
dbdc9e6
commit a40dc14
Showing
4 changed files
with
71 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...REQUEST_TEMPLATE/pull_request_template.md → ...REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[metadata] | ||
name = spotdl | ||
#! PyPi follows Semantic Versioning - http://semver.org/ | ||
version = 3.2.2 | ||
|
||
url = https://github.com/spotDL/spotify-downloader | ||
download_url = https://pypi.org/project/spotdl/ | ||
|
||
author = spotDL Team | ||
author_email = spotdladmins@googlegroups.com | ||
|
||
license = MIT | ||
|
||
description = Download your Spotify playlists and songs along with album art and metadata | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
|
||
keywords = | ||
spotify | ||
downloader | ||
download | ||
music | ||
youtube | ||
mp3 | ||
album | ||
metadata | ||
|
||
classifiers = | ||
Intended Audience :: End Users/Desktop | ||
License :: OSI Approved :: MIT License | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3 :: Only | ||
Topic :: Multimedia | ||
Topic :: Multimedia :: Sound/Audio | ||
Topic :: Utilities | ||
|
||
[options] | ||
install_requires = | ||
spotipy | ||
pytube | ||
rich | ||
rapidfuzz | ||
mutagen | ||
ytmusicapi | ||
tqdm | ||
|
||
python_requires = >=3.6 | ||
|
||
packages = spotdl, spotdl.search, spotdl.download | ||
|
||
|
||
[options.extras_require] | ||
test = pytest>=6.0; pytest-mock==3.3.1; pytest-vcr==1.0.2; pyfakefs==4.3.0; pytest-cov==2.10.1 | ||
dev = tox | ||
|
||
[options.entry_points] | ||
console_scripts= | ||
spotdl = spotdl:__main__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,4 @@ | ||
from setuptools import setup | ||
|
||
long_desc = open('README.md', encoding = 'utf-8').read() | ||
|
||
setup( | ||
# 'spotify-downloader' was already taken (>﹏<) | ||
name = "spotdl", | ||
|
||
packages = [ | ||
'spotdl', | ||
'spotdl.search', | ||
'spotdl.download', | ||
], | ||
|
||
#! PyPi follows Semantic Versioning - http://semver.org/ | ||
version = '3.2.1', | ||
|
||
install_requires = [ | ||
'spotipy', | ||
'pytube', | ||
'tqdm', | ||
'rapidfuzz', | ||
'requests', | ||
'mutagen', | ||
'ytmusicapi', | ||
], | ||
|
||
extras_require={ | ||
"test": [ | ||
"pytest>=6.0", | ||
"pytest-mock==3.3.1", | ||
"pytest-vcr==1.0.2", | ||
"pyfakefs==4.3.0", | ||
"pytest-cov==2.10.1" | ||
], | ||
"dev": [ | ||
"tox" | ||
] | ||
}, | ||
|
||
description="Downloads Spotify music from Youtube with metadata and album art", | ||
long_description=long_desc, | ||
long_description_content_type='text/markdown', | ||
|
||
author="spotDL Team", | ||
author_email="unrealengin71+PyPi@gmail.com", | ||
|
||
license="MIT", | ||
|
||
python_requires=">=3.6", | ||
|
||
url="https://github.com/spotDL/spotify-downloader", | ||
download_url="https://pypi.org/project/spotdl/", | ||
|
||
keywords=[ | ||
"spotify", | ||
"downloader", | ||
"download", | ||
"music", | ||
"youtube", | ||
"mp3", | ||
"album", | ||
"metadata", | ||
], | ||
|
||
classifiers=[ | ||
"Intended Audience :: End Users/Desktop", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Topic :: Multimedia", | ||
"Topic :: Multimedia :: Sound/Audio", | ||
"Topic :: Utilities", | ||
], | ||
|
||
entry_points = { | ||
"console_scripts": ["spotdl = spotdl.__main__:console_entry_point"] | ||
} | ||
) | ||
if __name__ == "__main__": | ||
setup() |