forked from zeekay/soundcloud-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 1.03 KB
/
setup.py
File metadata and controls
35 lines (30 loc) · 1.03 KB
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 re
from setuptools import setup, find_packages
file_text = open('soundcloud_cli/__init__.py').read()
def grep(attrname):
pattern = r"{0}\W*=\W*'([^']+)'".format(attrname)
strval, = re.findall(pattern, file_text)
return strval
setup(
name='soundcloud-cli',
version=grep('__version__'),
author='Zach Kelling',
author_email='zk@monoid.io',
url='https://github.com/zeekay/soundcloud-cli',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
scripts=['bin/sc', 'bin/soundcloud-cli'],
install_requires=['soundcloud'],
license='MIT',
description='Soundcloud command-line utility',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'License :: OSI Approved :: MIT License',
],
keywords='commandline cli soundcloud music upload utility',
)