From 07a4b7eca4453ac681ac5b4c7dfaa74a77082931 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Thu, 24 Aug 2017 23:04:09 -0400 Subject: [PATCH] Cleanup documentation and build scripts --- .travis.yml | 42 ++++++++++++++++++++++-------------------- README.rst | 22 ++++++++++++---------- travis_pypi_setup.py | 2 +- 3 files changed, 35 insertions(+), 31 deletions(-) diff --git a/.travis.yml b/.travis.yml index d9f05ee..eb40119 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,31 @@ -# Config file for automatic testing at travis-ci.org -# This file will be regenerated if you run travis_pypi_setup.py +deploy: + on: + python: 2.7 + repo: hydrosquall/tiingo-python + tags: true + distributions: sdist bdist_wheel + password: + secure: VH1rgFV5XD0k3cMZxJwetBnETrFolBaM0U4K9CKQts38LF7f4xA8muY2FFFyeqR7VF2MQhYgGMcaAQQx/gRY+7AdSnqMYvxZ7p3P81aF7ruE3KjXgV6oPkTX4LkUlZf+co1rGs59TJ4UDJQM73+9EiYD3MJ/G0KeyMnAak73HkRHWdypOGLrINLPyUuuUAxQ8k4UJWskEMXjMgKIlGdCcdbCWqso/lZqvQ+/bFfv5M+yhQK57JMlXfXsM3YMxUGY7IhYRhxHL3nCpxXacut2FBU6H1GCU8MuR2bJ/aNNdl8elNzCEZcRq8+s94yrI095HQvVW/tLWaNJ4ojZSsGhmzvC/xAB+VbCp7ZvI0vHPGEOQgR/bIkDa9uhuwCWtfM81VCPpBrXgwupgznxtsjFcmBSUOpTFLTW5dKoPDWOe5K4wHKd9IKbWwk+mAY+aczV4T0uMX/eKhEOWJS03cjIPN4qwdCy6zSnBWpJBoLR7QyYZKNL1MiyQ0toUsJO0ln6vaPTXOo0K7EJIxKVOYf3xR8kNsgWWe0Z4orSt56O8+v5OIYbDcSeY1hwklcMvQdGHlLyMx01D2v346mL532MHA24nRmXfDUz0ixx5rn7g4Tykvy2LBLYfrfhV4G6kvimTk5Y6I7Rif4y68+r+NHmBlZwUju0AsK0a+s5/XAg5Nc= + provider: pypi + user: hydrosquall + +install: + - python setup.py develop + - pip install -U pytest + # - pip install -U tox-travis pytest language: python python: + - 3.6 - 3.5 - 3.4 - 3.3 - 2.7 - - 2.6 + # - 2.6 -# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors -install: pip install -U tox-travis +script: + - export TIINGO_API_KEY=$TIINGO_API_KEY + - pytest -# command to run tests, e.g. python setup.py test -script: tox - -# After you create the Github repo and add it to Travis, run the -# travis_pypi_setup.py script to finish PyPI deployment setup -deploy: - provider: pypi - distributions: sdist bdist_wheel - user: hydrosquall - password: - secure: PLEASE_REPLACE_ME - on: - tags: true - repo: hydrosquall/tiingo - python: 2.7 +matrix: + fast_finish: true \ No newline at end of file diff --git a/README.rst b/README.rst index ab53870..1332f4c 100644 --- a/README.rst +++ b/README.rst @@ -6,24 +6,27 @@ Tiingo Python .. image:: https://img.shields.io/pypi/v/tiingo.svg :target: https://pypi.python.org/pypi/tiingo -.. image:: https://img.shields.io/travis/hydrosquall/tiingo.svg - :target: https://travis-ci.org/hydrosquall/tiingo +.. image:: https://img.shields.io/travis/hydrosquall/tiingo-python.svg + :target: https://travis-ci.org/hydrosquall/tiingo-python -.. image:: https://readthedocs.org/projects/tiingo/badge/?version=latest - :target: https://tiingo.readthedocs.io/en/latest/?badge=latest +.. image:: https://readthedocs.org/projects/tiingo-python/badge/?version=latest + :target: https://tiingo-python.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status -.. image:: https://pyup.io/repos/github/hydrosquall/tiingo/shield.svg - :target: https://pyup.io/repos/github/hydrosquall/tiingo/ +.. image:: https://pyup.io/repos/github/hydrosquall/tiingo-python/shield.svg + :target: https://pyup.io/repos/github/hydrosquall/tiingo-python/ :alt: Updates -REST Client for Tiingo Data Platform API +Tiingo is a financial data platform that makes high quality financial data more accessible to institutions and users alike. + +The official Tiingo API docs are located here_. + +.. _here : https://api.tiingo.com * Free software: MIT license -.. * Documentation: https://tiingo.readthedocs.io. - +* Documentation (Under Construction): https://tiingo.readthedocs.io. Features -------- @@ -37,4 +40,3 @@ This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypack .. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage - diff --git a/travis_pypi_setup.py b/travis_pypi_setup.py index 202b80c..3f0af0b 100644 --- a/travis_pypi_setup.py +++ b/travis_pypi_setup.py @@ -20,7 +20,7 @@ except ImportError: from urllib.request import urlopen -GITHUB_REPO = 'hydrosquall/tiingo' +GITHUB_REPO = 'hydrosquall/tiingo-python' TRAVIS_CONFIG_FILE = os.path.join( os.path.dirname(os.path.abspath(__file__)), '.travis.yml')