-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
55 lines (48 loc) · 2.04 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
54
55
#!/usr/bin/env python3
"""
This file is part of py-sonic.
py-sonic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
py-sonic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with py-sonic. If not, see <http://www.gnu.org/licenses/>
"""
from setuptools import setup
from libsonic import __version__ as version
import os
req_file = os.path.join(os.path.dirname(__file__), 'requirements.txt')
requirements = [line for line in open(req_file) if line]
setup(name='py-sonic',
version=version,
author='Jay Deiman',
author_email='[email protected]',
url='http://stuffivelearned.org',
description='A python wrapper library for the Subsonic REST API. '
'http://subsonic.org',
long_description='This is a basic wrapper library for the Subsonic '
'REST API. This will allow you to connect to your server and retrieve '
'information and have it returned in basic Python types.',
packages=['libsonic'],
package_dir={'libsonic': 'libsonic'},
install_requires=requirements,
python_requires='>=3',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: System :: Systems Administration',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Libraries',
'Topic :: System',
]
)