-
Notifications
You must be signed in to change notification settings - Fork 1
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 #1 from weaverba137/pre-0.3
Changes in preparation for version 0.3
- Loading branch information
Showing
67 changed files
with
1,826 additions
and
4,427 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[run] | ||
source = hpsspy | ||
omit = | ||
hpsspy/_version.py | ||
hpsspy/conftest* | ||
hpsspy/cython_version* | ||
hpsspy/setup_package* | ||
hpsspy/*/setup_package* | ||
hpsspy/*/*/setup_package* | ||
hpsspy/test/* | ||
|
||
[report] | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about packages we have installed | ||
except ImportError | ||
|
||
# Don't complain if tests don't hit assertions | ||
raise AssertionError | ||
raise NotImplementedError | ||
|
||
# Don't complain about script hooks | ||
def main\(.*\): |
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,81 @@ | ||
# | ||
# IMPORTANT. OS X support is so experimental that you have to specifically | ||
# request to have it enabled, on a per-repository basis. See | ||
# http://docs.travis-ci.com/user/multi-os/#Manual-intervention-required | ||
# | ||
# This file will still work, without OS X enabled, it just won't run those | ||
# tests. | ||
# | ||
language: python | ||
|
||
os: | ||
- linux | ||
# - osx | ||
|
||
# Setting sudo to false opts in to Travis-CI container-based builds. | ||
sudo: false | ||
|
||
# The apt packages below are needed for sphinx builds, which can no longer | ||
# be installed with sudo apt-get. | ||
addons: | ||
apt: | ||
packages: | ||
- graphviz | ||
- texlive-latex-extra | ||
- dvipng | ||
python: | ||
- 2.7 | ||
- 3.3 | ||
- 3.4 | ||
- 3.5 | ||
env: | ||
global: | ||
# The following versions are the 'default' for tests, unless | ||
# overidden underneath. They are defined here in order to save having | ||
# to repeat them for all configurations. | ||
- MAIN_CMD='python setup.py' | ||
matrix: | ||
- SETUP_CMD='egg_info' | ||
- SETUP_CMD='bdist_egg' | ||
- SETUP_CMD='test' | ||
|
||
matrix: | ||
# Don't wait for allowed failures. | ||
fast_finish: true | ||
|
||
# OS X support is still experimental, so don't penalize failuures. | ||
allow_failures: | ||
- os: osx | ||
|
||
include: | ||
# Check for sphinx doc build warnings - we do this first because it | ||
# runs for a long time | ||
- os: linux | ||
python: 3.5 | ||
env: SETUP_CMD='build_sphinx' | ||
# -w is an astropy extension | ||
|
||
# Coverage test, pass the results to coveralls. | ||
- os: linux | ||
python: 3.5 | ||
env: MAIN_CMD='coverage' SETUP_CMD='run hpsspy/test/hpsspy_test_suite.py' | ||
|
||
# PEP 8 compliance. | ||
- os: linux | ||
python: 3.5 | ||
env: MAIN_CMD='pep8' SETUP_CMD='--count hpsspy' | ||
|
||
# before_install: | ||
# - curl ipinfo.io | ||
|
||
install: | ||
- if [[ $MAIN_CMD == 'pep8' ]]; then pip install pep8; fi | ||
- if [[ $SETUP_CMD == 'build_sphinx' ]]; then pip install Sphinx; fi | ||
- if [[ $MAIN_CMD == 'coverage' ]]; then pip install coverage coveralls; fi | ||
# - pip install -r requirements.txt | ||
|
||
script: | ||
- $MAIN_CMD $SETUP_CMD | ||
|
||
after_success: | ||
- if [[ $MAIN_CMD == 'coverage' ]]; then coveralls; fi |
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,4 +1,4 @@ | ||
Copyright (c) 2014, Benjamin Alan Weaver <[email protected]> | ||
Copyright (c) 2014-2017, Benjamin Alan Weaver <[email protected]> | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
|
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,4 @@ | ||
include LICENSE.rst | ||
include README.rst | ||
include ez_setup.py | ||
|
||
graft doc | ||
|
||
prune doc/_build |
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,19 @@ | ||
========== | ||
HPSSPy API | ||
========== | ||
|
||
.. automodule:: hpsspy | ||
:members: | ||
|
||
.. automodule:: hpsspy.os | ||
:members: | ||
:imported-members: | ||
|
||
.. automodule:: hpsspy.os.path | ||
:members: | ||
|
||
.. automodule:: hpsspy.scan | ||
:members: | ||
|
||
.. automodule:: hpsspy.util | ||
:members: |
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
Oops, something went wrong.