Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Commits
445f4c90
Commit
445f4c90
authored
10 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Compliance with new bob.buildout build scheme
parent
42f020fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
requirements.txt
+4
-0
4 additions, 0 deletions
requirements.txt
setup.py
+8
-8
8 additions, 8 deletions
setup.py
with
12 additions
and
8 deletions
requirements.txt
0 → 100644
+
4
−
0
View file @
445f4c90
setuptools
bob.extension
bob.blitz
bob.core
This diff is collapsed.
Click to expand it.
setup.py
+
8
−
8
View file @
445f4c90
...
@@ -6,10 +6,13 @@
...
@@ -6,10 +6,13 @@
bob_packages
=
[
'
bob.core
'
]
bob_packages
=
[
'
bob.core
'
]
from
setuptools
import
setup
,
find_packages
,
dist
from
setuptools
import
setup
,
find_packages
,
dist
dist
.
Distribution
(
dict
(
setup_requires
=
[
'
bob.blitz
'
]
+
bob_packages
))
dist
.
Distribution
(
dict
(
setup_requires
=
[
'
bob.extension
'
,
'
bob.blitz
'
]
+
bob_packages
))
from
bob.extension.utils
import
egrep
,
find_header
,
find_library
from
bob.extension.utils
import
egrep
,
find_header
,
find_library
,
from
bob.blitz.extension
import
Extension
,
Library
,
build_ext
from
bob.blitz.extension
import
Extension
,
Library
,
build_ext
from
bob.extension.utils
import
load_requirements
build_requires
=
load_requirements
()
import
os
import
os
packages
=
[
'
boost
'
]
packages
=
[
'
boost
'
]
...
@@ -95,7 +98,7 @@ class hdf5:
...
@@ -95,7 +98,7 @@ class hdf5:
candidates
=
find_library
(
module
,
version
=
self
.
version
,
prefixes
=
[
prefix
],
only_static
=
only_static
)
candidates
=
find_library
(
module
,
version
=
self
.
version
,
prefixes
=
[
prefix
],
only_static
=
only_static
)
if
not
candidates
:
if
not
candidates
:
raise
RuntimeError
(
"
cannot find required %s binary module `%s
'
- make sure lib
svm
is installed on `%s
'"
%
(
self
.
name
,
module
,
prefix
))
raise
RuntimeError
(
"
cannot find required %s binary module `%s
'
- make sure lib
hdf5
is installed on `%s
'"
%
(
self
.
name
,
module
,
prefix
))
# libraries
# libraries
self
.
libraries
=
[]
self
.
libraries
=
[]
...
@@ -142,11 +145,8 @@ setup(
...
@@ -142,11 +145,8 @@ setup(
include_package_data
=
True
,
include_package_data
=
True
,
zip_safe
=
False
,
zip_safe
=
False
,
install_requires
=
[
setup_requires
=
build_requires
,
'
setuptools
'
,
install_requires
=
build_requires
,
'
bob.blitz
'
,
'
bob.core
'
],
namespace_packages
=
[
namespace_packages
=
[
"
bob
"
,
"
bob
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment