-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from willu47/scaffold
Replaced versioneer with PyScaffold
- Loading branch information
Showing
42 changed files
with
732 additions
and
1,553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
SALib/sample/directions.py | ||
versioneer.py | ||
SALib/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
repo_token: pylBNeUbcFeKP3ZsJJuMlLJaWFkR2S4UP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,41 @@ | ||
*.egg-info | ||
*.pyc | ||
dist | ||
model_input.txt | ||
model_output.txt | ||
y_rbf.txt | ||
tests/*.txt | ||
/build/ | ||
/dist/ | ||
# Temporary and binary files | ||
*~ | ||
*.py[cod] | ||
*.so | ||
*.cfg | ||
!setup.cfg | ||
*.orig | ||
*.log | ||
.coveralls.yml | ||
*.pot | ||
__pycache__/* | ||
.cache/* | ||
.*.swp | ||
|
||
# Project files | ||
.ropeproject | ||
.project | ||
.pydevproject | ||
.settings | ||
.idea | ||
|
||
# Package files | ||
*.egg | ||
*.eggs/ | ||
.installed.cfg | ||
*.egg-info | ||
|
||
# Unittest and coverage | ||
htmlcov/* | ||
.coverage | ||
./result_images/* | ||
.tox | ||
junit.xml | ||
coverage.xml | ||
|
||
# Build and docs folder/files | ||
build/* | ||
dist/* | ||
sdist/* | ||
docs/api/* | ||
docs/_build/* | ||
cover/* | ||
MANIFEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,27 @@ | ||
# Travis config for SALib/SALib | ||
sudo: false | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
- "3.3" | ||
|
||
env: | ||
# Workaround for image_comparison issue in v1.5.0 of matplotlib - fix matplotlib to 1.4.3 | ||
- DEPS="numpy scipy matplotlib=1.4.3" | ||
|
||
virtualenv: | ||
system_site_packages: true | ||
services: | ||
- postgresql | ||
env: | ||
matrix: | ||
- DISTRIB="conda" PYTHON_VERSION="2.7" COVERAGE="true" | ||
- DISTRIB="conda" PYTHON_VERSION="3.5" COVERAGE="false" | ||
addons: | ||
apt: | ||
packages: | ||
- git | ||
- python-pip | ||
install: | ||
- sudo apt-get update | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then | ||
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; | ||
else | ||
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
fi | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda install -c conda conda-env | ||
- conda update -q conda --no-deps | ||
# Useful for debugging any issues with conda | ||
- conda info -a | ||
|
||
# Replace dep1 dep2 ... with your dependencies | ||
- conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION $DEPS pip | ||
- source activate testenv | ||
- python setup.py install | ||
- pip install coveralls | ||
- source tests/travis_install.sh | ||
- pip install -r test-requirements.txt | ||
script: | ||
- coverage run --source=SALib --omit=SALib/_version.py setup.py test | ||
- python setup.py test | ||
after_success: | ||
- coveralls | ||
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi | ||
cache: | ||
- apt | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
========== | ||
Developers | ||
========== | ||
|
||
* Will Usher <william.usher@ouce.ox.ac.uk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
========= | ||
Changelog | ||
========= | ||
|
||
Version 0.1 | ||
=========== | ||
|
||
- Feature A added | ||
- FIX: nasty bug #1729 fixed | ||
- add your changes here! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
__version__ = "0.1" | ||
import pkg_resources | ||
|
||
from ._version import get_versions | ||
|
||
|
||
__version__ = get_versions()['version'] | ||
del get_versions | ||
try: | ||
__version__ = pkg_resources.get_distribution(__name__).version | ||
except: | ||
__version__ = 'unknown' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.