Skip to content

Commit

Permalink
Merge branch 'master' into gitter-badge-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky authored Apr 27, 2017
2 parents 343c0a9 + 7113f1b commit de62189
Show file tree
Hide file tree
Showing 292 changed files with 17,279 additions and 57,001 deletions.
31 changes: 31 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[run]
source = quantecon
omit =
*/python?.?/*
*/lib-python/?.?/*.py
*/lib_pypy/_*.py
*/site-packages/ordereddict.py
*/site-packages/nose/*
*/unittest2/*

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain about missing debug-only code:
def __repr__
if self\.debug

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:

# Don't count Numba nopython=True jit functions
@jit\(.*nopython=True
@njit
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: 7f8JDNk6BsPMESy0URL3W00zlazzRcuzR
18 changes: 15 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
*.pyc
*ipynb_checkpoints*
*.ipynb_checkpoints*

/build/
build/
/dist/
/*.egg_info
quantecon.egg-info/
*.DS_Store
*.TODO
*.noseids
*.coverage
*.h5
examples/solow_model/depreciation_rates.dta
examples/solow_model/pwt80.dta
examples/*.png

# Numba cache files
*.nbc
*.nbi
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Travis Configuration for QuantEcon.py
#
# Thank you for the writeup given by dan-blanchard at https://gist.github.com/dan-blanchard/7045057
#

sudo: false #Use new Container Infrastructure
language: python
python:
- 3.5

notifications:
email: false

branches:
only:
- master

before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
#- sudo rm -rf /dev/shm
#- sudo ln -s /run/shm /dev/shm

install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION ipython numpy scipy matplotlib nose pandas pip sympy pytables statsmodels numba
# To Install Full Anaconda Stack (conda install --yes python=$TRAVIS_PYTHON_VERSION anaconda)
- pip install coveralls coverage
- python setup.py install
- cp quantecon/tests/matplotlibrc .

script:
- nosetests --with-coverage --cover-package=quantecon --exclude=models #quantecon.models excluded from tests to prevent triggering the ImportWarning

after_success:
- coveralls
70 changes: 59 additions & 11 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,26 +1,74 @@
# file GENERATED by distutils, do NOT edit
LICENSE.txt
README.md
setup.cfg
setup.py
quantecon/__init__.py
quantecon/asset_pricing.py
quantecon/career.py
quantecon/arma.py
quantecon/cartesian.py
quantecon/ce_util.py
quantecon/compute_fp.py
quantecon/discrete_rv.py
quantecon/distributions.py
quantecon/ecdf.py
quantecon/estspec.py
quantecon/ifp.py
quantecon/jv.py
quantecon/graph_tools.py
quantecon/gridtools.py
quantecon/ivp.py
quantecon/kalman.py
quantecon/lae.py
quantecon/linproc.py
quantecon/lqcontrol.py
quantecon/lqnash.py
quantecon/lss.py
quantecon/lucastree.py
quantecon/mc_tools.py
quantecon/odu.py
quantecon/optgrowth.py
quantecon/matrix_eqn.py
quantecon/quad.py
quantecon/quadsums.py
quantecon/rank_nullspace.py
quantecon/riccati.py
quantecon/robustlq.py
quantecon/tauchen.py
quantecon/version.py
quantecon/game_theory/__init__.py
quantecon/game_theory/lemke_howson.py
quantecon/game_theory/mclennan_tourky.py
quantecon/game_theory/normal_form_game.py
quantecon/game_theory/pure_nash.py
quantecon/game_theory/random.py
quantecon/game_theory/support_enumeration.py
quantecon/game_theory/utilities.py
quantecon/markov/__init__.py
quantecon/markov/approximation.py
quantecon/markov/core.py
quantecon/markov/ddp.py
quantecon/markov/gth_solve.py
quantecon/markov/random.py
quantecon/markov/utilities.py
quantecon/models/__init__.py
quantecon/random/__init__.py
quantecon/random/utilities.py
quantecon/tests/__init__.py
quantecon/tests/test_arma.py
quantecon/tests/test_compute_fp.py
quantecon/tests/test_discrete_rv.py
quantecon/tests/test_ecdf.py
quantecon/tests/test_estspec.py
quantecon/tests/test_graph_tools.py
quantecon/tests/test_gridtools.py
quantecon/tests/test_ivp.py
quantecon/tests/test_kalman.py
quantecon/tests/test_lae.py
quantecon/tests/test_lqcontrol.py
quantecon/tests/test_lqnash.py
quantecon/tests/test_lss.py
quantecon/tests/test_lyapunov.py
quantecon/tests/test_matrix_eqn.py
quantecon/tests/test_quad.py
quantecon/tests/test_quadsum.py
quantecon/tests/test_rank_nullspace.py
quantecon/tests/test_ricatti.py
quantecon/tests/test_robustlq.py
quantecon/tests/util.py
quantecon/util/__init__.py
quantecon/util/array.py
quantecon/util/common_messages.py
quantecon/util/notebooks.py
quantecon/util/random.py
quantecon/util/timing.py
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.md
include LICENSE.txt
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# QuantEcon.py Makefile

install:
python setup.py install

test-all: test test-examples test-solutions

test:
@echo "Running nosetests on test suite ..."
nosetests -v

test-examples:
@echo "Testing examples ..."
python scripts/test-examples.py

test-solutions:
@echo "testing solutions ..."
python scripts/test-solutions.py
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

## Quantitative Economics (Python)

[![Join the chat at https://gitter.im/QuantEcon/QuantEcon.py](https://badges.gitter.im/QuantEcon/QuantEcon.py.svg)](https://gitter.im/QuantEcon/QuantEcon.py?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

A code library for quantitative economic modeling in Python

Libary Website: [http://quantecon.org/python_index.html](http://quantecon.org/python_index.html)
Expand All @@ -11,7 +9,6 @@ Libary Website: [http://quantecon.org/python_index.html](http://quantecon.org/py

See the [library website](http://quantecon.org/python_index.html) for instructions


#### Build and Coverage Status:

[![Build Status](https://travis-ci.org/QuantEcon/QuantEcon.py.svg?branch=master)](https://travis-ci.org/QuantEcon/QuantEcon.py)
Expand All @@ -21,6 +18,11 @@ See the [library website](http://quantecon.org/python_index.html) for instructio

[![Documentation Status](https://readthedocs.org/projects/quanteconpy/badge/?version=latest)](https://readthedocs.org/projects/quanteconpy/?badge=latest)

#### Gitter

[![Join the chat at https://gitter.im/QuantEcon/QuantEcon.py](https://badges.gitter.im/QuantEcon/QuantEcon.py.svg)](https://gitter.im/QuantEcon/QuantEcon.py?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)


## Additional Links

1. [Project Coordinators](http://quantecon.org/about)
Expand Down
Loading

0 comments on commit de62189

Please sign in to comment.