-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
executable file
·53 lines (45 loc) · 1.59 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#! /usr/bin/env python
import os
from codecs import open as codecs_open
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
def get_long_description():
with codecs_open("README.rst", encoding="utf-8") as f:
return f.read()
def get_requirements():
requirements = [
line.strip()
for line in open(os.path.join(here, "requirements", "base.in"), encoding="utf8")
if line != "youtube-dl"
]
return requirements
setup(
name="spotify-onthego",
version="1.0.11",
description="Download Spotify songs and playlists (with YouTube)",
long_description=get_long_description(),
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 5 - Production/Stable",
"Topic :: Multimedia :: Sound/Audio :: Capture/Recording",
],
keywords="spotify youtube download playlist music songs",
author="Régis Behmo",
author_email="[email protected]",
url="https://github.com/regisb/spotify-onthego",
license="GPL",
packages=["onthego"],
install_requires=get_requirements(),
entry_points={
"console_scripts": [
"spotify-playlist = onthego.cli:download_playlist",
"spotify-mymusic = onthego.cli:download_my_music",
]
},
)