mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2025-12-17 20:04:19 +01:00
Conform to modern setup.py version access
This commit is contained in:
@@ -1 +1 @@
|
|||||||
tiingo==0.3.0
|
tiingo==0.3.1
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ Now you can use ``TiingoClient`` to make your API calls. (Other parameters are a
|
|||||||
startDate='2017-01-01',
|
startDate='2017-01-01',
|
||||||
endDate='2017-08-31')
|
endDate='2017-08-31')
|
||||||
|
|
||||||
|
|
||||||
Further Docs
|
Further Docs
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,9 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 0.3.0
|
current_version = 0.3.1
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
|
|
||||||
[bumpversion:file:setup.py]
|
[bumpversion:file:tiingo/__version__.py]
|
||||||
search = version='{current_version}'
|
|
||||||
replace = version='{new_version}'
|
|
||||||
|
|
||||||
[bumpversion:file:tiingo/__init__.py]
|
|
||||||
search = __version__ = '{current_version}'
|
search = __version__ = '{current_version}'
|
||||||
replace = __version__ = '{new_version}'
|
replace = __version__ = '{new_version}'
|
||||||
|
|
||||||
|
|||||||
15
setup.py
15
setup.py
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
"""The setup script. Based on Jeff Knupp's Demo + Cookiecutter"""
|
"""The setup script. Based on Jeff Knupp's Demo + Cookiecutter"""
|
||||||
import io
|
import io
|
||||||
|
import os
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
@@ -31,15 +32,23 @@ test_requirements = [
|
|||||||
'pytest',
|
'pytest',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Load the package's __version__.py module as a dictionary.
|
||||||
|
# Via https://github.com/kennethreitz/setup.py/blob/master/setup.py
|
||||||
|
NAME = 'tiingo'
|
||||||
|
here = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
about = {}
|
||||||
|
with open(os.path.join(here, NAME, '__version__.py')) as f:
|
||||||
|
exec(f.read(), about)
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='tiingo',
|
name=NAME,
|
||||||
version='0.3.0',
|
version=about['__version__'],
|
||||||
description="REST Client for Tiingo Data Platform API",
|
description="REST Client for Tiingo Data Platform API",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
author="Cameron Yick",
|
author="Cameron Yick",
|
||||||
author_email='cameron.yick@enigma.com',
|
author_email='cameron.yick@enigma.com',
|
||||||
url='https://github.com/hydrosquall/tiingo-python',
|
url='https://github.com/hydrosquall/tiingo-python',
|
||||||
packages=find_packages(include=['tiingo']),
|
packages=find_packages(include=[NAME]),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
license="MIT license",
|
license="MIT license",
|
||||||
|
|||||||
@@ -3,4 +3,3 @@ from tiingo.api import TiingoClient
|
|||||||
|
|
||||||
__author__ = """Cameron Yick"""
|
__author__ = """Cameron Yick"""
|
||||||
__email__ = 'cameron.yick@enigma.com'
|
__email__ = 'cameron.yick@enigma.com'
|
||||||
__version__ = '0.3.0'
|
|
||||||
|
|||||||
2
tiingo/__version__.py
Normal file
2
tiingo/__version__.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
__version__ = '0.3.1'
|
||||||
Reference in New Issue
Block a user