Skip to content

Commit

Permalink
ci: add hooks for sklearn and nanite
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jul 31, 2019
1 parent d1e6665 commit 7691462
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis/hook-nanite.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-----------------------------------------------------------------------------
# Copyright (c) 2017-2019, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

# Hook for nanite: https://pypi.python.org/pypi/nanite

from PyInstaller.utils.hooks import collect_data_files

datas = collect_data_files('nanite')
16 changes: 16 additions & 0 deletions .travis/hook-sklearn.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#-----------------------------------------------------------------------------
# Copyright (c) 2017, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

# Hook for sklearn
hiddenimports = [
'sklearn.tree._utils',
'sklearn.neighbors.typedefs',
'sklearn.neighbors.quad_tree',
'sklearn.utils._cython_blas',
]

0 comments on commit 7691462

Please sign in to comment.