Commit c8087c41 authored by Manuel Günther's avatar Manuel Günther
Browse files
parents 3e200cd7 a235bdd9
......@@ -8,6 +8,7 @@ matrix:
- secure: W81QkyB8I87JT6kqaW/eBYBngbtcpHXWXIQsBkjy06Z8V9gUGbUD5oWwCn6NKQ1hE1ZR/qELxsTtrfgvfiegCW9wci4qZzatq34DWvzKK20jacqn9hs0BnXCyI/+iQRf6vam1KAnvc4qmWzF/CfsuZqCku8TtU5ZtKk05D/K//0=
- python: 3.2
- python: 3.3
- python: 3.4
before_install:
- sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq
......
include LICENSE README.rst bootstrap.py buildout.cfg
recursive-include bob/extension *.h
\ No newline at end of file
recursive-include doc conf.py *.rst
recursive-include bob *.h
......@@ -117,11 +117,20 @@ def find_header(name, subpaths=None, prefixes=None):
description.
"""
headerpaths = ['include']
if platform.architecture()[0] == '32bit':
headerpaths.append(os.path.join('include', 'i386-linux-gnu'))
else:
headerpaths.append(os.path.join('include', 'x86_64-linux-gnu'))
# Exhaustive combination of paths and subpaths
if subpaths:
my_subpaths = [os.path.join('include', k) for k in subpaths]
my_subpaths = []
for hp in headerpaths:
my_subpaths += [os.path.join(hp, k) for k in subpaths]
else:
my_subpaths = ['include']
my_subpaths = headerpaths
return find_file(name, my_subpaths, prefixes)
......
......@@ -20,7 +20,8 @@ setup(
long_description=open('README.rst').read(),
packages=find_packages(),
zip_safe=True,
include_package_data=True,
zip_safe=False,
namespace_packages=[
"bob",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment