Skip to content

Commit

Permalink
Version 1.0 - to match paper submission
Browse files Browse the repository at this point in the history
  • Loading branch information
mih committed Apr 25, 2019
1 parent 1d78876 commit 833cf5b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This is a high level and scarce summary of the changes between releases.
Consult the full history of the [git
repository](http://github.com/psychoinformatics-de/remodnav) for more details.

## 1.0 (Apr 25, 2019)

- Improve program help

## 0.2 (Apr 23, 2019)

- Ability to distinguish any number of fixation and pursuit events within
Expand Down
2 changes: 1 addition & 1 deletion remodnav/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# copyright and license terms.
#
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
__version__ = '0.3'
__version__ = '1.0'

import logging
lgr = logging.getLogger('remodnav')
Expand Down
24 changes: 4 additions & 20 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,8 @@ def get_version():
# extension version
version = get_version()

# PyPI doesn't render markdown yet. Workaround for a sane appearance
# https://github.com/pypa/pypi-legacy/issues/148#issuecomment-227757822
README = opj(dirname(__file__), 'README.md')
try:
import pypandoc
long_description = pypandoc.convert(README, 'rst')
except (ImportError, OSError) as exc:
# attempting to install pandoc via brew on OSX currently hangs and
# pypandoc imports but throws OSError demanding pandoc
print(
"WARNING: pypandoc failed to import or thrown an error while converting"
" README.md to RST: %r .md version will be used as is" % exc
)
long_description = open(README).read()

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="remodnav",
Expand All @@ -42,18 +29,15 @@ def get_version():
version=version,
description="robust eye movement detection for natural viewing",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/psychoinformatics-de/remodnav",
packages=[pkg for pkg in find_packages('.') if pkg.startswith('remodnav')],
install_requires=[
'numpy',
'scipy',
'statsmodels',
'matplotlib',
],
extras_require={
'devel-docs': [
# used for converting README.md -> .rst for long_description
'pypandoc',
]},
entry_points = {
'console_scripts': ['remodnav=remodnav:main'],
},
Expand Down

0 comments on commit 833cf5b

Please sign in to comment.