Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.buildout
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
Model registry
Operate
Environments
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.buildout
Commits
b6e43e85
Commit
b6e43e85
authored
12 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo; Add new nosetests option
parent
46a4c7fb
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.rst
+6
-1
6 additions, 1 deletion
README.rst
setup.py
+1
-1
1 addition, 1 deletion
setup.py
xbob/buildout/scripts.py
+4
-0
4 additions, 0 deletions
xbob/buildout/scripts.py
with
11 additions
and
2 deletions
README.rst
+
6
−
1
View file @
b6e43e85
...
@@ -55,7 +55,7 @@ This recipe installs **all** most used scripts and interpreter proxies for your
...
@@ -55,7 +55,7 @@ This recipe installs **all** most used scripts and interpreter proxies for your
package. It will look at the ``buildout`` section entry called ``prefixes``,
package. It will look at the ``buildout`` section entry called ``prefixes``,
that potentially lists prefixes that should be **prepended** to the default
that potentially lists prefixes that should be **prepended** to the default
python environment. In these prefixes, it will look for standard python
python environment. In these prefixes, it will look for standard python
directories. If one or more are
found
found, these paths are **prepended** into
directories. If one or more are found, these paths are **prepended** into
the resulting scripts generated by this recipe and eggs will be searched on
the resulting scripts generated by this recipe and eggs will be searched on
those locations prioritarily.
those locations prioritarily.
...
@@ -116,6 +116,11 @@ extra-paths
...
@@ -116,6 +116,11 @@ extra-paths
Extra paths to be appended in a generated script. To prepend, using the
Extra paths to be appended in a generated script. To prepend, using the
``prefixes`` entry.
``prefixes`` entry.
nose-flags
These are extra flags that are **appended** to the given ``nosetests``
command line, automatically. Use this to preset arguments you like running
all the time like ``-v``, for example.
Sphinx Recipe (Deprecated)
Sphinx Recipe (Deprecated)
--------------------------
--------------------------
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
b6e43e85
...
@@ -7,7 +7,7 @@ from setuptools import setup, find_packages
...
@@ -7,7 +7,7 @@ from setuptools import setup, find_packages
setup
(
setup
(
name
=
'
xbob.buildout
'
,
name
=
'
xbob.buildout
'
,
version
=
'
0.2.
2
'
,
version
=
'
0.2.
3
'
,
description
=
"
zc.buildout recipes to perform a variety of tasks required by Bob satellite packages
"
,
description
=
"
zc.buildout recipes to perform a variety of tasks required by Bob satellite packages
"
,
keywords
=
[
'
buildout
'
,
'
sphinx
'
,
'
nose
'
,
'
recipe
'
,
'
eggs
'
,
'
bob
'
],
keywords
=
[
'
buildout
'
,
'
sphinx
'
,
'
nose
'
,
'
recipe
'
,
'
eggs
'
,
'
bob
'
],
url
=
'
http://github.com/bioidiap/xbob.buildout
'
,
url
=
'
http://github.com/bioidiap/xbob.buildout
'
,
...
...
This diff is collapsed.
Click to expand it.
xbob/buildout/scripts.py
+
4
−
0
View file @
b6e43e85
...
@@ -83,6 +83,10 @@ class Recipe(object):
...
@@ -83,6 +83,10 @@ class Recipe(object):
nose_options
=
zc
.
buildout
.
buildout
.
Options
(
buildout
,
name
+
'
+nosetests
'
,
nose_options
=
zc
.
buildout
.
buildout
.
Options
(
buildout
,
name
+
'
+nosetests
'
,
options
.
copy
())
options
.
copy
())
if
nose_options
.
has_key
(
'
interpreter
'
):
del
nose_options
[
'
interpreter
'
]
if
nose_options
.
has_key
(
'
interpreter
'
):
del
nose_options
[
'
interpreter
'
]
if
nose_options
.
has_key
(
'
nose-flags
'
):
flags
=
tools
.
parse_list
(
nose_options
[
'
nose-flags
'
])
init_code
=
[
'
sys.argv.append(%r)
'
%
k
for
k
in
flags
]
nose_options
[
'
initialization
'
]
=
'
\n
'
.
join
(
init_code
)
nose_options
[
'
entry-points
'
]
=
'
nosetests=nose:run_exit
'
nose_options
[
'
entry-points
'
]
=
'
nosetests=nose:run_exit
'
nose_options
[
'
scripts
'
]
=
'
nosetests
'
nose_options
[
'
scripts
'
]
=
'
nosetests
'
if
'
nose
'
not
in
self
.
eggs
:
self
.
eggs
.
append
(
'
nose
'
)
if
'
nose
'
not
in
self
.
eggs
:
self
.
eggs
.
append
(
'
nose
'
)
...
...
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