Skip to content

Commit

Permalink
[FIX]
Browse files Browse the repository at this point in the history
bzr revid: stephane@tinyerp.com-20090208232536-3149vmfra424p661
  • Loading branch information
Stephane Wirtel committed Feb 8, 2009
1 parent 6546136 commit 21e6015
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ formats=rpm

[bdist_rpm]
# release must exactly match 'release' as set in bin/release.py
release=0_rc3
release=1

requires=python >= 2.3
requires=python >= 2.4
#build-requires=python-devel >= 2.3

#doc_files = doc/*
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def data_files():
addon_path = opj('lib', 'python%s' % py_short_version, 'site-packages', add_path.replace('bin', 'openerp-server', 1))
pathfiles = []
for root, dirs, innerfiles in os.walk(add_path):
innerfiles = filter(lambda file: os.path.splitext(file)[1] not in ('.pyc', '.py', '.pyd', '.pyo'), innerfiles)
innerfiles = filter(lambda file: os.path.splitext(file)[1] not in ('.pyc', '.pyd', '.pyo'), innerfiles)
if innerfiles:
res = os.path.normpath(opj(addon_path, root.replace(opj('bin','addons', addonname), '.')))
pathfiles.extend(((res, map(lambda file: opj(root, file), innerfiles)),))
Expand Down

0 comments on commit 21e6015

Please sign in to comment.