Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
 * add a test-requirements.txt file to include the test dependencies
 * add pillow to the list of pip requirements
 * update documentation with testing instructions as well as how to run tests with remote data
 * also added a file to gitignore.
  • Loading branch information
olaurino committed Mar 10, 2022
1 parent 9d5c501 commit e23450a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ htmlcov
.coverage
MANIFEST
.ipynb_checkpoints
/.eggs/README.txt

# Sphinx
docs/api
Expand Down
14 changes: 14 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ Source Installation
cd pyvo
python setup.py install
Testing
^^^^^^^

.. code-block:: bash
pip install test-requirements.txt
pytest
Tests requiring access to the web will be skipped, to run them:

.. code-block:: bash
pytest --remote-data
Requirements
------------
* numpy
Expand Down
1 change: 1 addition & 0 deletions pip-requirements
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
astropy
requests
mimeparse
pillow
3 changes: 3 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest
pytest-remotedata
requests-mock

0 comments on commit e23450a

Please sign in to comment.