Skip to content

Commit c386e80

Browse files
committed
DOC: Update requirements
Update requirements Add requirements to docs closes #34
1 parent 40cf6e8 commit c386e80

File tree

3 files changed

+57
-33
lines changed

3 files changed

+57
-33
lines changed

README.rst

Lines changed: 46 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,6 @@ Up to date remote data access for pandas, works for multiple versions of pandas.
3131
although there are frequent reports of failures. Failure is frequently
3232
encountered when bulk downloading historical price data.
3333

34-
Installation
35-
------------
36-
37-
38-
Install latest release version via pip
39-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40-
41-
.. code-block:: shell
42-
43-
$ pip install pandas-datareader
44-
45-
Install latest development version
46-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47-
48-
.. code-block:: shell
49-
50-
$ pip install git+https://github.com/pydata/pandas-datareader.git
51-
52-
or
53-
54-
.. code-block:: shell
55-
56-
$ git clone https://github.com/pydata/pandas-datareader.git
57-
$ python setup.py install
58-
5934
Usage
6035
-----
6136

@@ -84,4 +59,49 @@ A second copy of the stable documentation is hosted on
8459
`read the docs <https://pandas-datareader.readthedocs.io/>`_ for more details.
8560

8661
`Development documentation <https://pydata.github.io/pandas-datareader/devel/>`__
87-
is available for the latest changes in master.
62+
is available for the latest changes in master.
63+
64+
Installation
65+
------------
66+
67+
Requirements
68+
~~~~~~~~~~~~
69+
70+
Using pandas datareader requires the following packages:
71+
72+
* pandas>=0.19.2
73+
* lxml
74+
* requests>=2.3.0
75+
* requests-file
76+
* requests-ftp
77+
* wrapt
78+
79+
Building the documentation additionally requires:
80+
81+
* matplotlib
82+
* ipython
83+
* sphinx
84+
* sphinx_rtd_theme
85+
86+
Testing requires pytest.
87+
88+
Install latest release version via pip
89+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90+
91+
.. code-block:: shell
92+
93+
$ pip install pandas-datareader
94+
95+
Install latest development version
96+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
97+
98+
.. code-block:: shell
99+
100+
$ pip install git+https://github.com/pydata/pandas-datareader.git
101+
102+
or
103+
104+
.. code-block:: shell
105+
106+
$ git clone https://github.com/pydata/pandas-datareader.git
107+
$ python setup.py install

requirements.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
lxml
2-
numpy
3-
pandas
4-
pytest
5-
requests
6-
requests_file
7-
requests_ftp
2+
pandas>=0.19.2
3+
pytest>=3
4+
requests>=2.3.0
5+
requests-file
6+
requests-ftp
87
wrapt
8+
# Documentation Only
9+
matplotlib
10+
ipython
11+
sphinx
12+
sphinx_rtd_theme

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def readme():
1414

1515

1616
INSTALL_REQUIRES = (
17-
['pandas>=0.17.0', 'requests>=2.3.0', 'requests-file', 'requests-ftp']
17+
['pandas>=0.19.2', 'requests>=2.3.0', 'requests-file', 'requests-ftp', 'wrapt', 'lxml']
1818
)
1919

2020
setup(

0 commit comments

Comments
 (0)