Commit b1ffc393 authored by Alexandre Mestiashvili's avatar Alexandre Mestiashvili
Browse files

New upstream version 0.3.0+ds

parent 44a56eb8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
0.3.0
 - feat: add option to choose the strategy for propagating values to
   the next register (#14)
 - feat: add option to return the pure sum and the internal normalization
   count (#14)
0.2.0
 - tests: filter warnings and check with flake8
 - implement unique warning classes
0.1.9
 - include docs in sdist
0.1.8
+4 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ correlation on a linear scale such as `numpy.correlate <http://docs.scipy.org/do

Installation
------------
Multipletau supports Python 2.6+ and Python 3.3+ with a common codebase.
Multipletau supports Python 2.7 and Python 3.3+ with a common codebase.
The only requirement for ``multipletau`` is `NumPy <http://www.numpy.org/>`__ (for fast
operations on arrays). Install multipletau from the Python package index:

@@ -56,7 +56,7 @@ You can find out what version you are using by typing (in a Python console):

    >>> import multipletau
    >>> multipletau.__version__
    '0.1.4'
    '0.3.0'



@@ -64,7 +64,7 @@ You can find out what version you are using by typing (in a Python console):
   :target: https://pypi.python.org/pypi/multipletau
.. |Tests Status| image:: http://img.shields.io/travis/FCS-analysis/multipletau.svg?label=tests
   :target: https://travis-ci.org/FCS-analysis/multipletau
.. |Coverage Status| image:: https://img.shields.io/coveralls/FCS-analysis/multipletau.svg
   :target: https://coveralls.io/r/FCS-analysis/multipletau
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/FCS-analysis/multipletau/master.svg
   :target: https://codecov.io/gh/FCS-analysis/multipletau
.. |Docs Status| image:: https://readthedocs.org/projects/multipletau/badge/?version=latest
   :target: https://readthedocs.org/projects/multipletau/builds/
+12 −10
Original line number Diff line number Diff line
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# project documentation build configuration file, created by
@@ -15,12 +16,7 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

# Get version number from qpimage._version file
import mock
import os.path as op
import sys
@@ -36,12 +32,18 @@ install_requires = ["numpy"]
for mod_name in install_requires:
    sys.modules[mod_name] = mock.Mock()


# There should be a file "setup.py" that has the property "version"
from setup import author, authors, description, name, version, year
name = 'multipletau'
github_project = 'FCS-analysis/' + name
year = "2012"
author = 'Paul Müller'
authors = [author]
description = 'A multiple-tau algorithm for Python/NumPy'
projectname = name
projectdescription = description

exec(open(op.join(pdir, "multipletau/_version.py")).read())
release = version #@UndefinedVariable

# http://www.sphinx-doc.org/en/stable/ext/autodoc.html#confval-autodoc_member_order
# Order class attributes and functions in separate blocks
autodoc_member_order = 'bysource'
@@ -94,7 +96,7 @@ copyright = year+", "+author
#
# The short X.Y version.
# The full version, including alpha/beta/rc tags.
release = version
#release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -275,7 +277,7 @@ man_pages = [
# (source start file, target name, title, author,
#  dir menu entry, description, category)
texinfo_documents = [
  ('index', projectname, projectname+u' Documentation',
  ('index', projectname, projectname+' Documentation',
   author, projectname,
   projectdescription,
   'Numeric'),
+7 −2
Original line number Diff line number Diff line
@@ -47,14 +47,19 @@ class IncludeDirective(Directive):
        with io.open(full_path, "r") as myfile:
            text = myfile.read()

        # add reference
        name = op.basename(full_path)[:-3]
        rst = [".. _example_{}:".format(name),
               "",
               ]

        # add docstring
        source = text.split('"""')
        doc = source[1].split("\n")
        doc.insert(1, "~" * len(doc[0]))  # make title heading

        code = source[2].split("\n")

        # documentation
        rst = []
        for line in doc:
            rst.append(line)

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ You can find out what version you are using by typing

    >>> import multipletau
    >>> multipletau.__version__
    '0.1.4'
    '0.3.0'


Usage
Loading