Skip to content

Commit

Permalink
updated release version
Browse files Browse the repository at this point in the history
- updated release version to 0.9.11
- requirements.txt changed so that current version or higher can be used
- developed function to read requirements.txt file from setup
  • Loading branch information
alvarob96 committed Dec 15, 2019
1 parent 5a3b651 commit c8df7dc
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ are some of the features that currently lead investpy to be one of the most cons
In order to get this package working you will need to install [**investpy**](https://pypi.org/project/investpy/) using
pip on the terminal by typing:

``$ pip install investpy==0.9.10``
``$ pip install investpy==0.9.11``

Every package used is listed in [requirements.txt](https://github.com/alvarob96/investpy/blob/master/requirements.txt)
file, which can also be installed via pip:
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
author = 'Alvaro Bartolome'

# The short X.Y version
version = '0.9.10'
version = '0.9.11'
# The full version, including alpha/beta/rc tags
release = '0.9.10'
release = '0.9.11'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion investpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# See LICENSE for details.

__author__ = 'Alvaro Bartolome @ alvarob96 in GitHub'
__version__ = '0.9.10'
__version__ = '0.9.11'

from investpy.stocks import get_stocks, get_stocks_list, get_stocks_dict, get_stock_countries, get_stock_recent_data, \
get_stock_historical_data, get_stock_company_profile, get_stock_dividends, get_stocks_overview, search_stocks
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Unidecode==1.1.1
setuptools==41.2.0
numpy==1.17.2
pandas==0.25.1
lxml==4.4.1
requests==2.22.0
Unidecode>=1.1.1
setuptools>=41.2.0
numpy>=1.17.2
pandas>=0.25.1
lxml>=4.4.1
requests>=2.22.0
28 changes: 17 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,27 @@ def readme():
return f.read()


def parse_requirements():
requirements = list()
with io.open('requirements.txt', encoding='utf-8') as f:
for line in f.readlines():
requirements.append(line.strip())
return requirements


setup(
name='investpy',
version='0.9.10',
version='0.9.11',
packages=find_packages(),
url='https://investpy.readthedocs.io/',
download_url='https://github.com/alvarob96/investpy/archive/0.9.10.tar.gz',
download_url='https://github.com/alvarob96/investpy/archive/0.9.11.tar.gz',
license='MIT License',
author='Alvaro Bartolome',
author_email='alvarob96@usal.es',
description='investpy — a Python package for financial historical data extraction from Investing',
long_description=readme(),
long_description_content_type='text/markdown',
install_requires=[
'Unidecode>=1.1.1',
'pandas>=0.25.1',
'lxml>=4.4.1',
'setuptools>=41.2.0',
'requests>=2.22.0',
'numpy==1.17.2'
],
install_requires=parse_requirements(),
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
Expand All @@ -46,7 +47,12 @@ def readme():
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries"
],
keywords='investing, investing-api, historical-data, financial-data, stocks, funds, etfs, indices, currency crosses, bonds',
keywords=', '.join([
'investing', 'investing-api', 'historical-data',
'financial-data', 'stocks', 'funds', 'etfs',
'indices', 'currency crosses', 'bonds', 'commodities',
'crypto currencies'
]),
python_requires='>=3',
project_urls={
'Bug Reports': 'https://github.com/alvarob96/investpy/issues',
Expand Down

0 comments on commit c8df7dc

Please sign in to comment.