Skip to content
Snippets Groups Projects
Commit f1965653 authored by Philip ABBET's avatar Philip ABBET
Browse files

Fix the 'setup.py' script

parent 6924918d
Branches
Tags
1 merge request!17Merge development branch 1.5.x
Pipeline #
#!/usr/bin/env python #!/usr/bin/env python
# vim: set fileencoding=utf-8 : # vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.backend.python module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
__import__('pkg_resources').declare_namespace(__name__)
#!/usr/bin/env python #!/usr/bin/env python
# vim: set fileencoding=utf-8 : # vim: set fileencoding=utf-8 :
#!/usr/bin/env python
# encoding: utf-8
############################################################################### ###############################################################################
# # # #
...@@ -27,3 +25,5 @@ ...@@ -27,3 +25,5 @@
# # # #
############################################################################### ###############################################################################
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
__import__('pkg_resources').declare_namespace(__name__)
...@@ -25,13 +25,15 @@ ...@@ -25,13 +25,15 @@
# # # #
############################################################################### ###############################################################################
import pkg_resources import pkg_resources
import tempfile import tempfile
import sys import sys
from ..utils import Prefix from ..utils import Prefix
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
pkg_resources.declare_namespace(__name__)
prefix = Prefix(pkg_resources.resource_filename(__name__, 'prefix')) prefix = Prefix(pkg_resources.resource_filename(__name__, 'prefix'))
......
...@@ -48,9 +48,9 @@ setup( ...@@ -48,9 +48,9 @@ setup(
namespace_packages=[ namespace_packages=[
"beat", "beat",
"beat.backend" "beat.backend",
"beat.backend.python" "beat.backend.python",
"beat.backend.python.test" "beat.backend.python.test",
], ],
install_requires=[ install_requires=[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment