File: __init__.py

package info (click to toggle)
python-scikit-cuda 0.5.3-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 1,516 kB
  • sloc: python: 18,940; ansic: 459; makefile: 95; sh: 9
file content (21 lines) | stat: -rw-r--r-- 707 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from __future__ import absolute_import

import os
import warnings
warnings.warn('The scikits.cuda namespace package is deprecated and will be '
              'removed in the future; please import the skcuda package '
              'instead.', DeprecationWarning, stacklevel=2)

# This import must precede the invocation of extend_path() to work with Python
# 3:
import skcuda

from pkgutil import extend_path
__path__ = extend_path(__path__, 'skcuda')

from .info import __doc__
from .version import __version__

# Needed to ensure correct header location even when modules are import as
# scikits.cuda.something:
install_headers = skcuda.__file__.replace(os.path.basename(skcuda.__file__), '') + 'include'