diff --git a/README.md b/README.md index 3473030..fac7849 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ What is yql-finance? =========== yql-finance is simple and fast https://developer.yahoo.com/yql/console/ python API. API returns stock closing prices for current period of time and current stock ticker (i.e. APPL, GOOGL). + Stock prices: NASDAQ, SP&500, DAX etc. How to use it? ============== diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..224a779 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..67e3927 --- /dev/null +++ b/setup.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +from distutils.core import setup + +try: + with open('README.md', 'r') as f: + readme = f.read() + + with open('LICENSE.txt', 'r') as f: + license_ = f.read() +except: + readme = '' + license_ = '' + +setup( + name='yql-finance', + version='0.1.0', + packages=['yql'], + url='', + download_url='https://github.com/slawek87/yql-finance', + license=license_, + author=u'SÅ‚awomir Kabik', + author_email='slawek@redsoftware.pl', + description='yql-finance is simple and fast https://developer.yahoo.com/yql/console/ python API. API returns' + 'stock closing prices for current period of time and current stock ticker (i.e. APPL, GOOGL).', + long_description=readme, + keywords=['Yahoo YQL API', 'NASDAQ', 'S&P500', 'DAX', 'Stock prices'], + install_requires=['setuptools', 'requests' 'python-dateutil'], +)