Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/playground' into playground
Browse files Browse the repository at this point in the history
  • Loading branch information
smathot committed Feb 16, 2014
2 parents b4ff89f + b4b62ce commit 3ad5288
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
include data/opensesame.desktop
include data/x-opensesame-experiment.xml
include resources/*.ttf
include resources/tips.txt
include resources/templates/*.opensesame
recursive-exclude .hidden
exclude .hidden
recursive-include resources/theme *
recursive-exclude resources/theme *~
recursive-exclude resources/theme *.pyc
Expand Down
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
opensesame (2.8.0-ubuntu1) saucy; urgency=low
opensesame (2.8.0-ubuntu3) saucy; urgency=low

* New functionality and improvements
- Add runner functionality
Expand Down
17 changes: 13 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,20 @@ def plugins():
l = []
for plugin in os.listdir("plugins"):
if plugin in included_plugins:
l.append( (os.path.join(share_folder, "plugins", plugin), \
glob.glob("plugins/%s/*" % plugin)) )
# At plug-in subfolders where necessary
# Copy all files in the plug-in folder, but not any subdirectories,
# because those will trigger an error
target_folder = os.path.join(share_folder, "plugins", plugin)
src_folder = "plugins/%s" % plugin
file_list = []
for fname in os.listdir(src_folder):
path = os.path.join(src_folder, fname)
if not os.path.isdir(path):
file_list.append(path)
l.append( (target_folder, file_list) )
# Copy plug-in subfolders where necessary. These are manual hacks to deal
# with plug-ins that have subdirectories.
l.append( (os.path.join(share_folder, 'plugins/joystick/_libjoystick'), \
glob.glob('plugins/joystick/_libjoystick')) )
glob.glob('plugins/joystick/_libjoystick/*')) )
return l

setup(name="opensesame",
Expand Down

0 comments on commit 3ad5288

Please sign in to comment.