This repository has been archived by the owner on Mar 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
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 #13 from cta-sst-1m/v_044
use v0.44: no core dumps, OSX as well
- Loading branch information
Showing
17 changed files
with
237 additions
and
19 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,105 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
.static_storage/ | ||
.media/ | ||
local_settings.py | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ |
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,26 +1,42 @@ | ||
language: python | ||
python: | ||
# We don't actually use the Travis Python, but this keeps it organized. | ||
- "3.5" | ||
- "3.6" | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
python: 3.5 | ||
env: | ||
- PYTHON_VERSION=3.5 | ||
- MINICONDA_URL=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
- os: linux | ||
python: 3.6 | ||
env: | ||
- PYTHON_VERSION=3.6 | ||
- MINICONDA_URL=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
- os: osx | ||
python: 3.5 | ||
env: | ||
- PYTHON_VERSION=3.5 | ||
- MINICONDA_URL=https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh | ||
- DYLD_LIBRARY_PATH=$HOME/miniconda/envs/pz/lib/python3.5/site-packages/protozfitsreader | ||
- os: osx | ||
python: 3.6 | ||
env: | ||
- PYTHON_VERSION=3.6 | ||
- MINICONDA_URL=https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh | ||
- DYLD_LIBRARY_PATH=$HOME/miniconda/envs/pz/lib/python3.6/site-packages/protozfitsreader | ||
|
||
install: | ||
- sudo apt-get update | ||
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
- wget $MINICONDA_URL -O miniconda.sh | ||
- 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 update -q conda | ||
- conda info -a | ||
- conda create -q -n pz python=$TRAVIS_PYTHON_VERSION pip numpy protobuf pytest | ||
- conda create -q -n pz python=$PYTHON_VERSION pip numpy protobuf # pytest | ||
- source activate pz | ||
- pip install . | ||
- pip install -r requirements.txt | ||
- pip install pytest | ||
|
||
script: | ||
- pytest -vv | ||
- echo "trying to show, that deinstall works" | ||
- cd /home/travis | ||
- find . | grep "rawzfitsreader.cpython-35m-x86_64-linux-gnu.so" | ||
- pip uninstall protozfitsreader --yes | ||
- find . | grep "rawzfitsreader.cpython-35m-x86_64-linux-gnu.so" | ||
|
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-8.02 KB
(96%)
protozfitsreader/rawzfitsreader.cpython-35m-x86_64-linux-gnu.so
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-8.02 KB
(96%)
protozfitsreader/rawzfitsreader.cpython-36m-x86_64-linux-gnu.so
Binary file not shown.
Binary file removed
BIN
-3.04 KB
protozfitsreader/tests/__pycache__/test_rawzfitsreader.cpython-36-PYTEST.pyc
Binary file not shown.
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,3 @@ | ||
--index-url https://pypi.python.org/simple/ | ||
|
||
. |
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 @@ | ||
[aliases] | ||
test=pytest | ||
|
||
[tool:pytest] | ||
addopts = --verbose |
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 |
---|---|---|
|
@@ -3,13 +3,18 @@ | |
setup( | ||
name='protozfitsreader', | ||
packages=['protozfitsreader'], | ||
version='0.43.1', | ||
version='0.44.0', | ||
description='Basic python bindings for protobuf zfits reader', | ||
author="Etienne Lyard et al.", | ||
author_email="[email protected]", | ||
package_data={ | ||
'protozfitsreader': ['*.so*'], | ||
'protozfitsreader': [ | ||
'*.so*', | ||
'*.dylib' | ||
], | ||
'': ['tests/resources/*'], | ||
}, | ||
install_requires=['numpy', 'protobuf'], | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest'], | ||
) |