-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (32 loc) · 1.03 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
import sys
from distutils.core import setup
from distutils.extension import Extension
if sys.version_info[0] == 2:
print("Python 2 detected. The Python 3 version is recommended.")
base_dir = 'python2'
pyversion = '2'
elif sys.version_info[0] == 3:
print("Python 3 detected.")
base_dir = 'python3'
pyversion = '3'
setup(
name='amp-player',
version='0.1.24-' + pyversion,
description='Asynchronous command-line YouTube interface',
keywords=["music", "audio", "video", "stream", "youtube"],
url='https://github.com/nivekuil/amp',
download_url='https://github.com/nivekuil/amp/tarball/master',
author='Kevin Liu',
author_email='[email protected]',
license='GPL3',
entry_points={'console_scripts': ['amp = amp.main:main']},
packages = ['amp'],
package_dir={
'amp' : base_dir + '/amp'
},
install_requires=['pafy', 'psutil>=4', 'youtube-dl>2016.5'],
classifiers = [
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
)