1#!/usr/bin/env python
2#
3#  Copyright (c) 2013, Corey Goldberg (cgoldberg@gmail.com)
4#
5#  license: GNU LGPL
6#
7#  This file is part of: ystockquote
8#  https://github.com/cgoldberg/ystockquote
9#
10#  This library is free software; you can redistribute it and/or
11#  modify it under the terms of the GNU Lesser General Public
12#  License as published by the Free Software Foundation; either
13#  version 2.1 of the License, or (at your option) any later version.
14#
15
16
17"""setup/install script for ystockquote"""
18
19
20import os
21from distutils.core import setup
22
23from ystockquote import __version__
24
25this_dir = os.path.abspath(os.path.dirname(__file__))
26with open(os.path.join(this_dir, 'README.rst')) as f:
27    LONG_DESCRIPTION = '\n' + f.read()
28
29setup(
30    name='ystockquote',
31    version=__version__,
32    py_modules=['ystockquote'],
33    author='Corey Goldberg',
34    author_email='cgoldberg _at_ gmail.com',
35    description='retrieve stock quote data from Yahoo Finance',
36    long_description=LONG_DESCRIPTION,
37    url='https://github.com/cgoldberg/ystockquote',
38    download_url='http://pypi.python.org/pypi/ystockquote',
39    keywords='stocks stockmarket market finance yahoo quotes'.split(),
40    license='GNU LGPLv2+',
41    classifiers=[
42        'Development Status :: 4 - Beta',
43        'Intended Audience :: Developers',
44        'Intended Audience :: Financial and Insurance Industry',
45        'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
46        'Topic :: Software Development :: Libraries :: Python Modules',
47        'Topic :: Office/Business :: Financial :: Investment',
48        'Operating System :: OS Independent',
49        'Programming Language :: Python :: 2',
50        'Programming Language :: Python :: 2.7',
51        'Programming Language :: Python :: 3',
52        'Programming Language :: Python :: 3.2',
53        'Programming Language :: Python :: 3.3',
54        'Programming Language :: Python :: 3.4',
55        'Programming Language :: Python :: 3.5',
56    ]
57)
58