debian/0000755000000000000000000000000012255351105007165 5ustar debian/source/0000755000000000000000000000000012255351105010465 5ustar debian/source/format0000644000000000000000000000001412255351105011673 0ustar 3.0 (quilt) debian/dirs0000644000000000000000000000006112255351105010046 0ustar usr/bin usr/share/pixmaps usr/share/applications debian/watch0000644000000000000000000000026712255351105010223 0ustar version=3 opts="versionmangle=s/-//,dversionmangle=s/.dfsg$//" \ http://code.google.com/p/psychopy/downloads/list \ http://psychopy\.googlecode\.com/files/PsychoPy-([\d\.]*)\.zip debian/psychopy.install0000644000000000000000000000005712255351105012435 0ustar debian/psychopy.desktop usr/share/applications debian/patches/0000755000000000000000000000000012255351105010614 5ustar debian/patches/series0000644000000000000000000000011012255351105012021 0ustar deb_do_not_regenerate_init deb_use_system_serial update_matplotlib_test debian/patches/deb_do_not_regenerate_init0000644000000000000000000000130612255351105016057 0ustar From: Yaroslav Halchenko Subject: keep __init__.py pristine Since packaging is based on GIT repository directly, createInitFile is present in .orig.tar.gz, nevertheless we should not regenerate __init__.py while setup.py operations are running since it might be ran not within repository any longer. --- a/setup.py +++ b/setup.py @@ -9,6 +9,7 @@ from sys import platform, argv #regenerate __init__.py only if we're in the source repos (not in a source zip file) try: import createInitFile#won't exist in a sdist.zip + raise Exception("createInitFile is shipped in Debian .orig.tar.gz but __init__.py should pristine") writeNewInit=True except: writeNewInit=False debian/patches/deb_use_system_serial0000644000000000000000000000257712255351105015123 0ustar From: Yaroslav Halchenko Subject: Importer for systemwide serial module --- psychopy/serial.py | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 psychopy/serial.py --- /dev/null +++ b/psychopy/serial.py @@ -0,0 +1,31 @@ +#emacs: -*- mode: python-mode; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*- +#ex: set sts=4 ts=4 sw=4 et: +""" + Little helper script to minimize intrusion into upstream code relying + on psychopy.serial availability. + + Copyright (C) 2009, Yaroslav Halchenko + + Distributed under the license terms of python-psychopy package. +""" +import sys + +if sys.version_info[:2] >= (2, 5): + # enforce absolute import + serial = __import__('serial', globals(), locals(), + ['Serial', 'PARITY_EVEN', 'STOPBITS_TWO'], 0) + # hackish way to bind needed names, not sure why + # fromlist argument wasn't in effect + locals().update(serial.__dict__) + #Serial = serial.Serial + #PARITY_EVEN = serial.PARITY_EVEN + #STOPBITS_TWO = serial.STOPBITS_TWO +else: + # little trick to be able to import 'serial' package (which has same + # name) + oldname = __name__ + # crazy name with close to zero possibility to cause whatever + __name__ = 'iaugf9zrkjsbdv99' + from serial import * + # restore old settings + __name__ = oldname debian/patches/update_matplotlib_test0000644000000000000000000000460512255351105015314 0ustar From: Yaroslav Halchenko Author: Mark Hymers Subject: no more nxutils in recent matplotlib Last-Update: 2013-12-21 diff --git a/psychopy/tests/test_all_visual/test_contains_overlaps.py b/psychopy/tests/test_all_visual/test_contains_overlaps.py index c57e861..ac8da75 100644 --- a/psychopy/tests/test_all_visual/test_contains_overlaps.py +++ b/psychopy/tests/test_all_visual/test_contains_overlaps.py @@ -99,9 +99,6 @@ def contains_overlaps(testType): win.close() -mpl_version = matplotlib.__version__ -from matplotlib import nxutils - @pytest.mark.polygon def test_point(): poly1 = [(1,1), (1,-1), (-1,-1), (-1,1)] @@ -110,36 +107,38 @@ def test_point(): assert helpers.pointInPolygon(12, 12, poly1) == False assert helpers.pointInPolygon(0, 0, [(0,0), (1,1)]) == False - helpers.nxutils = nxutils - matplotlib.__version__ = '1.1' # matplotlib.nxutils + # matplotlib + helpers.haveMatplotlib = True assert helpers.polygonsOverlap(poly1, poly2) - del(helpers.nxutils) - matplotlib.__version__ = '0.0' # pure python + # pure python + helpers.haveMatplotlib = False assert helpers.polygonsOverlap(poly1, poly2) - matplotlib.__version__ = mpl_version + helpers.haveMatplotlib = True @pytest.mark.polygon def test_contains(): contains_overlaps('contains') # matplotlib.path.Path - helpers.nxutils = nxutils - matplotlib.__version__ = '1.1' # matplotlib.nxutils + + # matplotlib + helpers.haveMatplotlib = True contains_overlaps('overlaps') - del(helpers.nxutils) - matplotlib.__version__ = '0.0' # pure python + + # pure python + helpers.haveMatplotlib = False contains_overlaps('contains') - matplotlib.__version__ = mpl_version + helpers.haveMatplotlib = True @pytest.mark.polygon def test_overlaps(): - contains_overlaps('overlaps') # matplotlib.path.Path - helpers.nxutils = nxutils - matplotlib.__version__ = '1.1' # matplotlib.nxutils + # matplotlib version + helpers.haveMatplotlib = True contains_overlaps('overlaps') - del(helpers.nxutils) - matplotlib.__version__ = '0.0' # pure python + + # python version + helpers.haveMatplotlib = False contains_overlaps('overlaps') - matplotlib.__version__ = mpl_version + helpers.haveMatplotlib = True if __name__=='__main__': test_contains_overlaps('contains') debian/changelog0000644000000000000000000002461312255351105011045 0ustar psychopy (1.79.00+git16-g30c9343.dfsg-1) unstable; urgency=low * New release (+ post-release fixes) * debian/patches - deb_no_post_inst -- upstream does it correctly now - update_matplotlib_test (from Mike Hymers) to address missing nxutils * debian/control - add python-pytest to build-depends (thanks Mark again) * debian/rules - do not install our runner shell script, just use upstream's runner script (renamed) -- Yaroslav Halchenko Sat, 21 Dec 2013 10:54:21 -0500 psychopy (1.77.02.dfsg-1) unstable; urgency=low * New upstream bugfix release * Do not ignore tests failures while building for unstable/sid -- Yaroslav Halchenko Fri, 12 Jul 2013 12:55:11 -0400 psychopy (1.77.00.dfsg-1) unstable; urgency=low * New upstream release * Enabling build-time unit-testing under Xvfb, but ignoring failures for now (there are few differently persistent ones) * debian/control: - libxxf86vm1 to Recommends -- needed for XF86VidModeSetGammaRamp -- Yaroslav Halchenko Fri, 14 Jun 2013 08:37:23 -0400 psychopy (1.76.00.dfsg-1) experimental; urgency=low * New upstream release * debian/control: - added python-pyo to recommends * debian/copyright: - updated years * debian/patches - up* and changeset* removed (since included upstream) - deb_no_post_inst updated to not install psychopyApp as a script: we have a lean script to invoke it via runpy, and we call it just psychopy -- Yaroslav Halchenko Mon, 18 Feb 2013 12:23:31 -0500 psychopy (1.74.03.dfsg-1) experimental; urgency=low * New upstream bugfix release -- Yaroslav Halchenko Tue, 14 Aug 2012 13:05:32 -0400 psychopy (1.74.02.dfsg-1) UNRELEASED; urgency=low * New bugfix of a fresh upstream feature release. * New patches: - up_Linux_components_path - point to location on Linux systems, not OSX -- Yaroslav Halchenko Mon, 06 Aug 2012 10:39:21 -0400 psychopy (1.73.06.dfsg-1) unstable; urgency=low * New upstream bugfix release (released April 2012) -- Yaroslav Halchenko Wed, 27 Jun 2012 15:49:15 -0400 psychopy (1.73.05.dfsg-1) unstable; urgency=low * New upstream release * Upgraded policy to 3.9.3 - debian/copyright updated for DEP-5 compliance * Removed not any longer needed versioning from build-depends -- Yaroslav Halchenko Sun, 04 Mar 2012 16:19:21 -0500 psychopy (1.73.03+git2-g04717ae.dfsg-1) unstable; urgency=low * New upstream release * Added python-configobj into build-depends -- Yaroslav Halchenko Tue, 31 Jan 2012 13:26:29 -0500 psychopy (1.71.01.dfsg-1) unstable; urgency=low * New upstream release -- Yaroslav Halchenko Mon, 31 Oct 2011 21:48:39 -0400 psychopy (1.71.00.dfsg-1) unstable; urgency=low * New upstream release * Moved scipy into Depends from Recommends due to imports of scipy at core modules (also reformatted *Depends into multilines) -- Yaroslav Halchenko Thu, 22 Sep 2011 18:31:26 -0400 psychopy (1.70.01.dfsg-1) unstable; urgency=low * New upstream release -- Yaroslav Halchenko Wed, 07 Sep 2011 15:33:04 -0400 psychopy (1.70.00.dfsg-1) unstable; urgency=low * New upstream release -- Yaroslav Halchenko Mon, 15 Aug 2011 16:33:41 -0400 psychopy (1.70.00~rc4+git10-gf081945.dfsg-1) unstable; urgency=low * New upstream release candidate snapshot -- Yaroslav Halchenko Mon, 08 Aug 2011 17:11:45 -0400 psychopy (1.65.02.dfsg-1) unstable; urgency=low * New upstream release -- Yaroslav Halchenko Wed, 13 Jul 2011 10:37:23 -0400 psychopy (1.65.00.dfsg-1) unstable; urgency=low * New upstream release * Upgraded policy to 3.9.2 -- no changes -- Yaroslav Halchenko Sun, 03 Jul 2011 20:58:55 -0400 psychopy (1.65.00~pre1.dfsg-1) unstable; urgency=low * Getting ready for the upstream release -- Yaroslav Halchenko Wed, 22 Jun 2011 20:54:07 -0400 psychopy (1.64.00.dfsg-1) unstable; urgency=low * New upstream release * debian/control: - added perspective python-pyxid to Suggests * debian/copyright: - added Jeremey Grey copyright to mseq* code - updated years -- Yaroslav Halchenko Thu, 21 Apr 2011 11:08:58 -0400 psychopy (1.63.04.dfsg-1) unstable; urgency=low * New upstream bugfix release * debian/README.Debian-source: no SVN repository any longer etc. * debian/control: - updated description - removed pyepl from suggests - added ipython into Recommends to be used as the Python shell in Coder -- Yaroslav Halchenko Fri, 25 Feb 2011 12:48:15 -0500 psychopy (1.63.01.dfsg-1) experimental; urgency=low * New upstream bugfix release -- Yaroslav Halchenko Fri, 14 Jan 2011 12:32:41 -0500 psychopy (1.63.00+git8-g46ee897.dfsg-1) experimental; urgency=low * New upstream release: - Few post-release commits were included since they fixed some bugs and resolved EOLs and executable permissions issues in the repository * New patch: deb_do_not_regenerate_init to leave __init__.py pristine even though we ship createInitFile.py -- Yaroslav Halchenko Mon, 20 Dec 2010 12:54:22 -0500 psychopy (1.62.02.dfsg-1) experimental; urgency=low * New upstream release * Converted into quilt (3.0) sources format -- two patches to upstream for DFSG-ed sources are created * Elaborated dfsg rule of debian/rules -- Yaroslav Halchenko Wed, 13 Oct 2010 14:08:24 -0400 psychopy (1.62.01.dfsg-1) experimental; urgency=low * New upstream bugfix release: - removed third-part ioLabs interface (Debian packaging pending) - upstreamed moved from SVN to GIT, alioth's repository recrerated to follow freshly (properly) converted upstream GIT repo: + master-dfsg -> dfsg -- DFSG compliant sources + debian-release -> debian -- branch for dfsg+debian/ packaging * Added perspective python-iolabs into Suggests -- Yaroslav Halchenko Mon, 20 Sep 2010 11:47:41 -0400 psychopy (1.62.00.dfsg-1) experimental; urgency=low * New upstream release. Introduces soft dependency (Recommends) on openpyxl * Upgraded policy to 3.9.1 -- no changed * Upload to experimental due to squeeze freeze -- Yaroslav Halchenko Wed, 18 Aug 2010 12:05:41 -0400 psychopy (1.61.03.dfsg-1) unstable; urgency=low * Upstream bugfix release for 1.61 series + 2 additional commits (advised by upstream): - rev 1015 - builder: minor bug in trying dlgs trying to access advParams that don't exist - rev 1018 - coder: fix to reading of unicode scripts * This should be the last release in 1.61.xx series, 1.62.0 is in alpha testing -- Yaroslav Halchenko Wed, 11 Aug 2010 15:33:36 -0400 psychopy (1.61.02.dfsg-2) unstable; urgency=low * Debian packaging: - Moving under NeuroDebian Team umbrella - Boosting policy to 3.9.0 -- no changes seems to be due - Adding both python-pyglet and python-pygames to Recommends (they are also present in Depends but with the choice of one over the other). That should make default installations more coherent and less troublesome * Absorbed some upstream commits from svn/trunk: - lib: fixed bug in filters.makeGrating where gratType='sqr' - lib: fixed bug in new color spaces for non-shader code - BF: making RaingScale an explicit old-style class (otherwise import fails on Python 2.4) - removing testmovie.mpg (unknown license), using new and shiny testMovie.mp4 -- Yaroslav Halchenko Wed, 14 Jul 2010 09:59:29 -0400 psychopy (1.61.02.dfsg-1) unstable; urgency=low * New upstream release (+ few svn commits getting to rev1004) - no string exceptions (Closes: #585272) - includes iolab's Python interface -- Yaroslav Halchenko Mon, 21 Jun 2010 12:05:28 -0400 psychopy (1.61.00.dfsg-1) unstable; urgency=low * New upstream release * Cherry-picked 2 commits pushed upstream: permissions, and python 2.4 compatibility -- Yaroslav Halchenko Wed, 12 May 2010 12:55:19 -0400 psychopy (1.60.00.dfsg-1) unstable; urgency=low * New upstream release * debian/control: Upgraded policy to 3.8.4 -- no changes are due * debian/copyright: years * Include changlog modifications done by upstream between announced release and tagging * BF: use system-wide installed configobj (Closes: #555341) -- Yaroslav Halchenko Tue, 02 Feb 2010 22:49:11 -0500 psychopy (1.51.00.dfsg-1) unstable; urgency=low * Upstream release: based Debian package on SVN rev 687, git sha e829fc97e1a23b342630dd10312c345283c915e5. * debian/control: * BF: Recommends python-scipy * RF: libavbin0 into Recommends from Suggests * BF: matplotlib/lxml into Depends * BF: Adjusted description (closes: #547255) * Upgraded policy to 3.8.3 -- no changes are due * Reverted to using wrapper script which invokes psychopy app via runpy -- Yaroslav Halchenko Tue, 03 Nov 2009 08:49:32 -0500 psychopy (1.50.04.dfsg-1) unstable; urgency=low * New upstream bugfix release -- Yaroslav Halchenko Tue, 15 Sep 2009 11:23:06 -0400 psychopy (1.50.02.dfsg-1) unstable; urgency=low * New upstream bugfix release -- Yaroslav Halchenko Tue, 08 Sep 2009 15:19:14 -0400 psychopy (1.50.00.dfsg-1) unstable; urgency=low * New upstream release * Removed custom psychopy shell script -- now upstream provides a python script to start necessary GUI module * Adjusted copyright file -- from 1.50.00 psychopy is distributed under GPL version 3 * Added lintian-overrides to keep LICENSE.txt since it is used from GUI -- Yaroslav Halchenko Tue, 01 Sep 2009 13:13:43 -0400 psychopy (1.00.04.dfsg-1) unstable; urgency=low * Initial release (Closes: #532111) -- Yaroslav Halchenko Fri, 19 Jun 2009 10:29:52 -0400 psychopy (0.93.5-1) UNRELEASED; urgency=low * Initial packaging -- Michael Hanke Wed, 23 Apr 2008 08:08:17 +0200 debian/pyversions0000644000000000000000000000000512255351105011324 0ustar 2.4- debian/copyright0000644000000000000000000000646512255351105011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: psychopy Upstream-Contact: psychopy-users@googlegroups.com Source: http://github.com/psychopy/psychopy Files: * Copyright: 2002-2013, Jon W. Peirce 2010-2013, Jeremy Gray License: GPL-3+ Files: psychopy/contrib/quest.py Copyright: 1996-2002, Denis G. Pelli 1996-1999, David Brainard 2004-2007, Andrew D. Straw License: BSD-3 Files: psychopy/contrib/mseq* Copyright: 2011, Jeremy Gray License: BSD-3 Files: psychopy/hardware/joystick/pyglet_input Copyright: 2006-2008 Alex Holkner License: BSD-3 Files: psychopy/iohub Copyright: 2012-2013 iSolver Software Solutions License: GPL-3+ Files: psychopy/iohub/devices/eyetracker/hw/lc_technologies/eyegaze/pEyeGaze.py psychopy/iohub/devices/eyetracker/hw/smi/iviewx/pyViewX.py Copyright: 2008 David James 2006-2008 Alex Holkner License: BSD-3 Comment: parts Files: debian/* Copyright: 2007-2013, Yaroslav Halchenko 2007-2009, Michael Hanke License: GPL-3+ License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian GNU/Linux systems, the complete text of the GPL-3 License can be found in `/usr/share/common-licenses/GPL-3'. License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . a. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. b. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. c. Neither the name of the Enthought nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/psychopy.links0000644000000000000000000000010212255351105012076 0ustar usr/share/pyshared/psychopy/demos usr/share/doc/psychopy/examples debian/psychopy.desktop0000644000000000000000000000045412255351105012441 0ustar [Desktop Entry] Encoding=UTF-8 GenericName=Psychology Stimuli IDE GenericName[ru]=IDE для психологических стимулов Name=PsychoPy Exec=psychopy %F TryExec=psychopy Type=Application Terminal=false Categories=Graphics;Science;MedicalSoftware;Development;IDE; Icon=psychopy.xpm debian/rules0000755000000000000000000000655712255351105010262 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- include /usr/share/cdbs/1/rules/debhelper.mk DEB_PYTHON_SYSTEM = pysupport DEB_PYTHON_MODULE_PACKAGE = psychopy DEB_PYTHON_MODULE_PACKAGES = psychopy include /usr/share/cdbs/1/class/python-distutils.mk # We will disallow to fail on unstable/sid, but let them pass otherwise failed_tests_cmd = $(shell dpkg-parsechangelog --count 1 --format rfc822 | awk '/^Distribution:/{print $$2;}' | grep -q -e '\(sid\|unstable\)' && echo "exit 1" || echo ":") debian/psychopy.1: debian/psychopy.sh chmod +x $^ PYTHONPATH=. help2man -N -n "Creating psychology stimuli in Python" $^ > $@ ## cleanup rm -f psychopy/__init__.pyc install/psychopy:: debian/psychopy.1 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) echo "I: Running tests using default Python" cd build && xvfb-run -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" \ python ../psychopy/tests/runPytest.py -v -s -m "not needs_sound" || { echo "TESTS FAILED"; $(failed_tests_cmd); } endif ## Fix up permissions on images -- pushed upstream, but left here ## just to make sure everything is ok find $(DEB_DESTDIR) -name \*.png -o -name \*.ico -o -name \*.jpg | \ xargs chmod a-x ## # Correct interpreter lines ## was pushed upstream, but snippet is left in for possible uses ## find $(DEB_DESTDIR) -name \*.py \ ## | xargs sed -i -e '1 s,^#!.*python.*,#!/usr/bin/env python,g' ## convert and install icon's .xpm manually convert psychopy/app/Resources/psychopy.png -geometry 32x32 \ $(DEB_DESTDIR)/usr/share/pixmaps/psychopy.xpm ## Rename upstream's runner mv $(DEB_DESTDIR)/usr/bin/psychopyApp.py $(DEB_DESTDIR)/usr/bin/psychopy # Make tree dfsg-compliant OREMOTE= dfsg: dfsg-master dfsgrelease-%: override OREMOTE=origin/release- dfsgrelease-%: dfsg-% @echo "finished dfsgrelease-$*" # some command is necessary for poor make dfsg-%: @git checkout dfsg branch=$(OREMOTE)$*; \ descr=`git describe $$branch | sed -e 's,-,+git,'`; \ dfsgtag=$${descr}.dfsg; \ echo "Merging $${branch} into DFSG and cleaning"; \ git merge --no-commit -X theirs $$branch || :; \ git rm -f --ignore-unmatch PsychoPyBuilder/*bak \ psychopy/demos/*.ttf psychopy/demos/*.mpg \ psychopy/ext/*bits*.* \ docs/source/resources/*zip \ buildExeInstaller.nsi buildWinDistributions.bat \ googlecode_upload.py; \ git rm -rf --ignore-unmatch iohub_docs psychopy/serial windlls; \ find -type d -iname win32 -print0 | xargs -0 git rm -rf --ignore-unmatch; \ diffstat="`git diff --cached $${branch} --stat`"; \ echo -e "Merge $$branch ($$descr) into DFSG\n\n$$diffstat" | \ git commit -F- -a && git tag -s -m "Autotagging DFSG version of $$descr" $$dfsgtag && \ echo -e "Differences between dfsg and $${branch}:\n$$diffstat"; \ git checkout debian && git merge $${dfsgtag} \ && dch -v "$${dfsgtag}-1" "New upstream release" # immediately useable documentation #DEB_COMPRESS_EXCLUDE := .py .pdf .html .css .jpg .txt DEB_INSTALL_CHANGELOGS_ALL := psychopy/CHANGELOG.txt DEB_INSTALL_DOCS_psychopy := psychopy/README.txt debian/README.Debian-source DEB_INSTALL_MANPAGES_psychopy := debian/psychopy.1 test:: LC_ALL=C.UTF-8 PYTHONPATH=$PWD xvfb-run -s "-screen 0 1280x1024x24 -noreset" nosetests -s -v psychopy/tests 2>&1 clean:: rm -f debian/psychopy.1 rm -rf build dist PsychoPy.egg-info # do not actually install demos -- just symlink to them #DEB_INSTALL_EXAMPLES_psychopy := psychopy/demos/* debian/gbp.conf0000644000000000000000000000127412255351105010610 0ustar [DEFAULT] # the default build command: builder = debuild -i'\.(git\.*|gbp.conf|gitignore)' # the default clean command: cleaner = fakeroot debian/rules clean # the default branch for upstream sources: upstream-branch = dfsg # the default branch for the debian patch: debian-branch = debian # the default tag formats used: upstream-tag = %(version)s debian-tag = debian/%(version)s # Options only affecting git-buildpackage [git-buildpackage] # ignore some any non-gitted files ignore-new = True #upstream-branch = dfsgclean # uncomment this to automatically GPG sign tags sign-tags = True # use this for more svn-buildpackage like bahaviour: export-dir = ../build-area/ tarball-dir = ../tarballs/ debian/blends0000644000000000000000000000054412255351105010362 0ustar Depends: psychopy Tasks: debian-science/psychophysics, debian-med/psychology Pkg-URL: http://neuro.debian.net/pkgs/%(Pkg-Name)s.html Published-Title: PsychoPy - Psychophysics software in Python Published-Authors: J. W. Peirce Published-In: Journal of Neuroscience Methods, 162:8-13 Published-Year: 2007 Published-DOI: 10.1016/j.jneumeth.2006.11.017 debian/psychopy.sh0000755000000000000000000000264012255351105011404 0ustar #!/bin/bash #emacs: -*- mode: shell-script; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- #ex: set sts=4 ts=4 sw=4 noet: # Yaroslav Halchenko CS@UNM, CS@NJIT # web: http://www.onerussian.com & PSYCH@RUTGERS # e-mail: yoh@onerussian.com ICQ#: 60653192 # # COPYRIGHT: Yaroslav Halchenko 2009 # DESCRIPTION: Just a little wrapper to startup PsychoPy GUI. # LICENSE: # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301, USA. # # On Debian system see /usr/share/common-licenses/GPL for the full license. # #-----------------\____________________________________/------------------ python -c 'import runpy; runpy.run_module("psychopy.app.psychopyApp", run_name="__main__");' $* debian/menu0000644000000000000000000000021312255351105010050 0ustar ?package(psychopy):needs="X11" section="Applications/Science/Medicine"\ title="PsychoPy" icon="psychopy.xpm" command="/usr/bin/psychopy" debian/psychopy.lintian-overrides0000644000000000000000000000020112255351105014414 0ustar # LICENSE.txt is used within GUI so needs to be kept psychopy binary: extra-license-file usr/share/pyshared/psychopy/LICENSE.txt debian/pycompat0000644000000000000000000000000212255351105010734 0ustar 2 debian/TODO0000644000000000000000000000016212255351105007654 0ustar * Package ioLabs http://github.com/ioLab/python-ioLabs * Package labjack https://github.com/labjack/LabJackPython debian/control0000644000000000000000000000474112255351105010576 0ustar Source: psychopy Section: science Priority: optional Maintainer: NeuroDebian Team Uploaders: Yaroslav Halchenko , Michael Hanke Build-Depends: cdbs, debhelper (>= 5.0.38), python-support, python, python-setuptools, help2man, imagemagick, python-configobj, xvfb, xauth, libgl1-mesa-dri, python-pyglet, python-pygame, python-opengl, python-scipy, python-matplotlib, python-lxml, python-configobj, python-imaging, python-openpyxl, python-mock, python-wxgtk2.8, libavbin0, python-pyo, python-pytest, Vcs-Git: git://git.debian.org/git/pkg-exppsy/psychopy.git Vcs-Browser: http://git.debian.org/?p=pkg-exppsy/psychopy.git Standards-Version: 3.9.3 Homepage: http://www.psychopy.org Package: psychopy Architecture: all Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-pyglet | python-pygame, python-opengl, python-numpy, python-scipy, python-matplotlib, python-lxml, python-configobj Recommends: python-wxgtk2.8, python-pyglet, python-pygame, python-openpyxl, python-imaging, python-serial, python-pyo, libavbin0, libxxf86vm1, ipython, Suggests: python-iolabs, python-pyxid Provides: ${python:Provides} XB-Python-Version: ${python:Versions} Description: environment for creating psychology stimuli in Python PsychoPy provides an environment for creating psychology stimuli using Python scripting language. It combines the graphical strengths of OpenGL with easy Python syntax to give psychophysics a free and simple stimulus presentation and control package. . The goal is to provide, for the busy scientist, tools to control timing and windowing and a simple set of pre-packaged stimuli and methods. PsychoPy features . - IDE GUI for coding in a powerful scripting language (Python) - Builder GUI for rapid development of stimulation sequences - Use of hardware-accelerated graphics (OpenGL) - Integration with Spectrascan PR650 for easy monitor calibration - Simple routines for staircase and constant stimuli experimental methods as well as curve-fitting and bootstrapping - Simple (or complex) GUIs via wxPython - Easy interfaces to joysticks, mice, sound cards etc. via PyGame - Video playback (MPG, DivX, AVI, QuickTime, etc.) as stimuli debian/README.Debian-source0000644000000000000000000000257112255351105012531 0ustar PsychoPy for Debian Packaging ----------------------------- Naming ++++++ PsychoPy upstream went beyound providing simply a public Python module to code the psychological experiments. PsychoPy is an interactive GUI environment to create and run the experiments. It provides a basic IDE for Python coding and execution of the experiments, "builder" GUI tool for easy interactive creation of designs, and a monitor calibration tool. Therefore, binary package for PsychoPy was not named "python-psychopy", but "psychopy" and placed into 'science' section instead of 'python' since a. It has no value for generic "Python crowd" and is specific to psychological (and medical) research b. It is not just a Python module, but rather an environment started with 'psychopy' command from command line. Separation into "psychopy" (GUI environment) and "python-psychopy" (actual psychopy Python module) binary packages was not done since it has no advantage of any kind and would only confuse the users. DFSG ++++ Upstream GIT and releases contain some non-DFSG compliant material, which was removed from Debian packages (source and binary). dfsg rule in debian/rules would help to infiltrate the tree whenever fresh merge from trunk comes into the debian-release branch. -- Yaroslav Halchenko Fri, 25 Feb 2011 12:48:15 -0500 debian/compat0000644000000000000000000000000212255351105010363 0ustar 5