From 7fe355e0ec3da0740c9a2213a2b24a8a01c14fba Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 7 Jun 2020 16:59:40 -0400 Subject: [PATCH] Oops, put import statements after path adjustment --- tools/python/dlib/__init__.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/python/dlib/__init__.py b/tools/python/dlib/__init__.py index b17f0d078..2fb29c596 100644 --- a/tools/python/dlib/__init__.py +++ b/tools/python/dlib/__init__.py @@ -1,6 +1,5 @@ -from _dlib_pybind11 import * -from _dlib_pybind11 import __version__, __time_compiled__ - +# Copyright (C) 2020 Davis E. King (davis@dlib.net) +# License: Boost Software License See LICENSE.txt for the full license. try: import os @@ -9,3 +8,6 @@ try: os.add_dll_directory(os.path.join(os.environ['CUDA_PATH'], 'bin')) except (AttributeError,KeyError): pass + +from _dlib_pybind11 import * +from _dlib_pybind11 import __version__, __time_compiled__