Skip to content

Commit 5c18442

Browse files
author
Paul Müller
authored
Merge pull request #165 from FCS-analysis/develop
version 0.9.9
2 parents d378565 + e45854f commit 5c18442

20 files changed

+672
-304
lines changed

.travis.yml

Lines changed: 46 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -30,42 +30,57 @@ before_install:
3030
# a lot of cool formulae for scientific tools
3131
#- brew tap homebrew/science
3232
# numpy, scipy, matplotlib, ...
33-
- brew tap homebrew/python
34-
- brew tap homebrew/dupes
35-
- brew update
33+
#- brew tap homebrew/python
34+
#- brew tap homebrew/dupes
35+
#- brew update
3636
#- brew update && brew upgrade
37-
- brew install python --universal --framework
37+
#- brew install python --universal --framework
3838
#- brew install wget
39-
- which python
40-
- python --version
41-
- export VERSIONER_PYTHON_PREFER_32_BIT=no
42-
- defaults write com.apple.versioner.python Prefer-32-Bit -bool no
39+
#- which python
40+
#- python --version
41+
#- export VERSIONER_PYTHON_PREFER_32_BIT=no
42+
#- defaults write com.apple.versioner.python Prefer-32-Bit -bool no
4343

4444
install:
45-
- brew unlink gcc
46-
- brew install gcc --universal
47-
- brew install freetype --universal
48-
#- brew install numpy --universal
49-
#- brew install scipy --universal
50-
#- brew install matplotlib --universal
51-
52-
# https://github.com/Homebrew/homebrew/issues/34470
53-
#- brew install wxpython --universal
54-
#- brew install openblas
55-
#- brew install gfortran
56-
57-
- pip install pyinstaller==3.0.0
45+
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
46+
- bash Miniconda2-latest-MacOSX-x86_64.sh -b -p $HOME/miniconda
47+
- export PATH=$HOME/miniconda/bin:$PATH
48+
- which python
49+
- conda search numpy
50+
- conda search scipy
51+
- conda search wxpython
52+
# https://github.com/ContinuumIO/anaconda-issues/issues/565
53+
- conda install --yes numpy==1.8.2 scipy wxpython
54+
55+
#- brew unlink gcc
56+
#- brew install gcc --universal
57+
#- brew install freetype --universal
58+
##- brew install numpy --universal
59+
##- brew install scipy --universal
60+
##- brew install matplotlib --universal
61+
#
62+
## https://github.com/Homebrew/homebrew/issues/34470
63+
##- brew install wxpython --universal
64+
##- brew install openblas
65+
##- brew install gfortran
66+
67+
# fixes (matplotlib backend)
68+
- ./freeze_travis/fixes.sh
69+
70+
- pip install pyinstaller==3.2.0
5871
# final pip installs
5972
- pip install -r ./freeze_travis/requirements.txt
6073

61-
# wxPython
62-
- wget http://downloads.sourceforge.net/wxpython/wxPython3.0-osx-3.0.2.0-cocoa-py2.7.dmg
74+
## wxPython
75+
#- wget http://downloads.sourceforge.net/wxpython/wxPython3.0-osx-3.0.2.0-cocoa-py2.7.dmg
76+
6377
- sudo ./freeze_travis/install_dmg.sh
78+
6479
# Patch wx.lib.plot
6580
# http://trac.wxwidgets.org/ticket/16767#no1
6681
- python -c "import wx; print wx.__version__"
6782
- python -c "import wx; import wx.lib; import wx.lib.plot; print wx.lib.plot.__file__"
68-
- patch /usr/local/lib/wxPython-3.0.2.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/lib/plot.py ./freeze_travis/wxPython-3.0.2.0-plot.patch
83+
#- patch /usr/local/lib/wxPython-3.0.2.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/lib/plot.py ./freeze_travis/wxPython-3.0.2.0-plot.patch
6984
# wxPython is only available in 64bit version with homebrew
7085
#- brew install wxpython
7186

@@ -76,7 +91,11 @@ install:
7691

7792
script:
7893
# Run tests
79-
- python setup.py test
94+
- travis_retry pip install coverage
95+
- travis_retry pip install coveralls
96+
- coverage run --source=pycorrfit ./setup.py test
97+
- coverage report -m
98+
- coveralls
8099
# Create wheel pacakge
81100
- python setup.py bdist_wheel
82101
# Create source pacakge
@@ -107,7 +126,8 @@ deploy:
107126
file_glob: true
108127
file:
109128
- "${RELEASE_PKG_FILEC}"
110-
- "${RELEASE_PKG_FILEB}"
129+
# Mac OSx build is broken (issue #147)
130+
#- "${RELEASE_PKG_FILEB}"
111131
- "${RELEASE_PKG_FILEA}"
112132
on:
113133
tags: true

ChangeLog.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
0.9.9
2+
- Remove admin-requirement during install (Windows)
3+
- Support newer correlator.com .sin file format (experimental, #135)
4+
- Add smart progress dialog for fitting (#155)
5+
- Statistics: check "filename/title" by default (#151)
6+
- Documentation: fix bad LaTeX commands (#163)
17
0.9.8
28
- Bugfixes:
39
- Indexing error when saving sessions (#154)
@@ -68,7 +74,7 @@
6874
- Computation of average intensity did not work
6975
correctly for unequally spaced traces
7076
- Update .pt3 reader to version 8399ff7401
71-
- Import traces of .pt3 files (#118)
77+
- Import traces of .pt3 files (experimental, #118)
7278
Warning: Absolute values for intensity might be wrong
7379
0.9.1
7480
- Tool 'Overlay curves': improve UI (#117)

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
|PyCorrFit|
22
===========
33

4-
|PyPI Version| |Build Status Win| |Build Status Mac|
4+
|PyPI Version| |Build Status Win| |Build Status Mac| |Coverage Status|
55

66
A graphical fitting tool for fluorescence correlation spectroscopy (FCS) that comes with support for several file formats, can be applied to a large variety of problems, and attempts to be as user-friendly as possible. Some of the features are
77

@@ -97,3 +97,5 @@ the running time of the build). From there you can download the Windows installe
9797
:target: https://ci.appveyor.com/project/paulmueller/pycorrfit
9898
.. |Build Status Mac| image:: https://img.shields.io/travis/FCS-analysis/PyCorrFit/master.svg?label=build_mac
9999
:target: https://travis-ci.org/FCS-analysis/PyCorrFit
100+
.. |Coverage Status| image:: https://img.shields.io/coveralls/FCS-analysis/PyCorrFit.svg
101+
:target: https://coveralls.io/r/FCS-analysis/PyCorrFit

appveyor.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ environment:
2626
GH_READ_API_TOKEN:
2727
secure: GvXoZj2gfC/Zjpe5k3BLTNKTNLWPFK9hB97npxEDM5rUxcrESItbUhrPwXCaAt8s
2828

29+
# https://github.com/appveyor/ci/issues/359
2930
matrix:
30-
- PYTHON: "C:\\Python27-conda32"
31+
- PYTHON: "C:\\Miniconda"
3132
PYTHON_VERSION: "2.7"
3233
PYTHON_ARCH: "32"
3334
PYWIN_DL: "https://downloads.sourceforge.net/project/pywin32/pywin32/Build%20219/pywin32-219.win32-py2.7.exe"
3435

35-
- PYTHON: "C:\\Python27-conda64"
36+
- PYTHON: "C:\\Miniconda-x64"
3637
PYTHON_VERSION: "2.7"
3738
PYTHON_ARCH: "64"
3839
PYWIN_DL: "https://downloads.sourceforge.net/project/pywin32/pywin32/Build%20219/pywin32-219.win-amd64-py2.7.exe"
@@ -45,9 +46,6 @@ install:
4546
# Copied from
4647
# https://github.com/Phonations/Joker/blob/master/appveyor.yml
4748
- choco install -y InnoSetup
48-
# Install Python (from the official .msi of http://python.org) and pip when
49-
# not already installed.
50-
- "powershell freeze_appveyor\\install.ps1"
5149

5250
# Determine platform
5351
- '%PYTHON%/python -c "import platform; print platform.uname()"'
@@ -75,12 +73,9 @@ install:
7573
- "pip install matplotlib==1.4.3"
7674
- "pip install sympy"
7775
- "pip install lmfit"
78-
# Install pyinstaller
79-
- 'ECHO Downloading %PYWIN_DL%'
80-
- ps: (new-object net.webclient).DownloadFile("$env:PYWIN_DL", 'C:/pywin_inst.exe')
81-
- "%PYTHON%/Scripts/easy_install.exe C:/pywin_inst.exe"
76+
# Install pyinstaller (includes dependency for pywin32)
77+
- "%WITH_COMPILER% pip install pypiwin32"
8278
- "%WITH_COMPILER% pip install git+git://github.com/pyinstaller/pyinstaller.git@779d07b236a943a4bf9d2b1a0ae3e0ebcc914798"
83-
#- "%WITH_COMPILER% pip install pyinstaller==3.0.0"
8479

8580
# Run develop (installs yet missing packages and runs cython)
8681
- "%WITH_COMPILER% %PYTHON%/python setup.py develop"
@@ -93,9 +88,13 @@ shallow_clone: true
9388
build: off
9489

9590
test_script:
96-
# - "pip freeze"
97-
# Disable pytest, because appveyor has problems with relative imports ??!
98-
- "%WITH_COMPILER% %PYTHON%/python setup.py test"
91+
- 'python -c "import pycorrfit; print pycorrfit.__version__"'
92+
- "pip install coverage"
93+
- "pip install coveralls"
94+
- "coverage run --source=pycorrfit ./setup.py test"
95+
- "coverage report -m"
96+
# https://github.com/lemurheavy/coveralls-public/issues/429
97+
# - "coveralls --verbose"
9998

10099
after_test:
101100
# If tests are successful, create a whl package for the project.

doc/PyCorrFit_doc.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
%Für englische Schriften:
2222
\usepackage[english]{babel}
23-
\usepackage{sistyle}
23+
\usepackage{siunitx}
2424

2525

2626
\usepackage[top = 2cm, left = 2.5cm, right = 2cm, bottom = 2.5cm]{geometry}

0 commit comments

Comments
 (0)