Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.bio.csu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.bio.csu
Commits
fe69032c
Commit
fe69032c
authored
Dec 02, 2015
by
Manuel Günther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switched to new namespace system
parent
7e50d280
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
19 deletions
+6
-19
bob/__init__.py
bob/__init__.py
+3
-2
bob/bio/__init__.py
bob/bio/__init__.py
+3
-2
setup.py
setup.py
+0
-15
No files found.
bob/__init__.py
View file @
fe69032c
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
# see https://docs.python.org/3/library/pkgutil.html
__import__
(
'pkg_resources'
).
declare_namespace
(
__name__
)
from
pkgutil
import
extend_path
__path__
=
extend_path
(
__path__
,
__name__
)
bob/bio/__init__.py
View file @
fe69032c
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
# see https://docs.python.org/3/library/pkgutil.html
__import__
(
'pkg_resources'
).
declare_namespace
(
__name__
)
from
pkgutil
import
extend_path
__path__
=
extend_path
(
__path__
,
__name__
)
setup.py
View file @
fe69032c
...
@@ -72,21 +72,6 @@ setup(
...
@@ -72,21 +72,6 @@ setup(
# privileges when using buildout.
# privileges when using buildout.
install_requires
=
install_requires
,
install_requires
=
install_requires
,
# Your project should be called something like 'bob.<foo>' or
# 'bob.<foo>.<bar>'. To implement this correctly and still get all your
# packages to be imported w/o problems, you need to implement namespaces
# on the various levels of the package and declare them here. See more
# about this here:
# http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
#
# Our database packages are good examples of namespace implementations
# using several layers. You can check them out here:
# https://github.com/idiap/bob/wiki/Satellite-Packages
namespace_packages
=
[
'bob'
,
'bob.bio'
,
],
# This entry defines which scripts you will have inside the 'bin' directory
# This entry defines which scripts you will have inside the 'bin' directory
# once you install the package (or run 'bin/buildout'). The order of each
# once you install the package (or run 'bin/buildout'). The order of each
# entry under 'console_scripts' is like this:
# entry under 'console_scripts' is like this:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment