Skip to content

Commit

Permalink
v1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpale committed Mar 23, 2016
2 parents 596a2ca + 323b1cc commit 56ba685
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
10 changes: 5 additions & 5 deletions gazelib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
'''
Gazelib, a toolkit for gaze analysis.
'''
from . import package
from gazelib import package
__version__ = package.version # noqa

from . import containers # noqa
from . import io # noqa
from . import legacy # noqa
from gazelib import containers # noqa
from gazelib import io # noqa
from gazelib import legacy # noqa
# import gazelib.settings # noqa
from . import statistics # noqa
from gazelib import statistics # noqa
# import gazelib.validation # noqa
6 changes: 4 additions & 2 deletions gazelib/package.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

name = 'gazelib'
version = '1.2.3'
version = '1.2.4'
description = 'Software tools to manage and analyze data from eye-trackers'
url = 'https://github.com/infant-cognition-tampere/gazelib'
author = 'Akseli Palen'
Expand Down Expand Up @@ -39,7 +39,9 @@

# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages = ['gazelib']
# packages = ['gazelib']
# Note: to use find_packages, it must be run on upper level. Otherwise
# it will be run each time the package becomes imported. See setup.py

# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ def get_version(module_name, filename):
return version_match.group(1)
raise RuntimeError("Unable to find version string.")

# Read setup parameters from package.py
# Read setup parameters from gazelib/package.py
# This way Sphinx can access package information.
pkg_info = get_package_info('gazelib')
# Keep costly processing out from package.py so that they wont be
# executed each time the package is imported.
pkg_info['long_description'] = get_long_description()
pkg_info['packages'] = find_packages(exclude=['tests*'])
setup(**pkg_info)

0 comments on commit 56ba685

Please sign in to comment.