Skip to content

Commit

Permalink
Dev (#10)
Browse files Browse the repository at this point in the history
* Add short description to setup.py

* switch to readthedocs

* maybe fixing images

* update readme

* revise package structure, make Travis work again, bump version
  • Loading branch information
JoshKarpel committed Feb 28, 2019
1 parent 132b254 commit 6d67254
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ build:
python:
version: 3.6

requirements_file: requirements_for_docs.txt
requirements_file: requirements-docs.txt
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
dist: xenial

language: python
python:
- "3.6"
- "3.7"

install:
- pip install -r requirements.txt
- pip install --upgrade -r requirements-tests.txt
- pip install -e .
- pip install pytest pytest-mock pytest-cov hypothesis
- pip install codecov

script:
- pytest --cov

after_success:
- codecov
Binary file modified docs/source/_static/figs/quickstart_error.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ Change Log

.. currentmodule:: idesolver

v1.0.3
------
* Revision of package structure and CI flow. There shouldn't be any impact on users.

v1.0.2
------
* IDESolver now explicitly requires Python 3.6+ on install. Dependencies on ``numpy`` and ``scipy`` are given as lower bounds.

v1.0.1
------
* Changed the name of ``IDESolver.F`` to ``f``.
* Changed the name of ``IDESolver.F`` to ``f``, as intended.
* The default global error function is now injected instead of hard-coded.

v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import sphinx_rtd_theme

sys.path.insert(0, os.path.abspath('../../src'))
sys.path.insert(0, os.path.abspath('../../'))

# -- General configuration ------------------------------------------------

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r requirements.txt
sphinx
sphinx_rtd_theme
sphinx_autodoc_typehints
6 changes: 6 additions & 0 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-r requirements.txt
pytest
pytest-xdist
pytest-mock
pytest-cov
hypothesis
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name = 'idesolver',
version = '1.0.2',
version = '1.0.3',
author = 'Josh Karpel',
author_email = 'karpel@wisc.edu',
maintainer = 'Josh Karpel',
Expand All @@ -34,8 +34,7 @@
'Topic :: Scientific/Engineering :: Mathematics',
'Intended Audience :: Science/Research',
],
packages = find_packages('src'),
package_dir = {'': 'src'},
packages = find_packages(),
install_requires = [
'numpy>=1.13.0',
'scipy>=1.0.0',
Expand Down

0 comments on commit 6d67254

Please sign in to comment.