Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nxd-bom
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
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
nxd-bom
Commits
77e7b824
Commit
77e7b824
authored
Jun 01, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support zc.recipe.egg:script recipe
it's just an alias for zc.recipe.egg or zc.recipe.egg:scripts
parent
adc41b3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
nxdbom/__init__.py
nxdbom/__init__.py
+1
-1
nxdbom/nxdbom_test.py
nxdbom/nxdbom_test.py
+14
-0
No files found.
nxdbom/__init__.py
View file @
77e7b824
...
@@ -190,7 +190,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
...
@@ -190,7 +190,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
if
isegg
:
# ignore .egg-link - we declare it through the place
if
isegg
:
# ignore .egg-link - we declare it through the place
addbom
(
eggpath
,
'egg'
)
# from where destination is downloaded from
addbom
(
eggpath
,
'egg'
)
# from where destination is downloaded from
elif
recipe
in
(
'zc.recipe.egg'
,
'zc.recipe.egg:eggs'
,
'zc.recipe.egg:scripts'
):
elif
recipe
in
(
'zc.recipe.egg'
,
'zc.recipe.egg:eggs'
,
'zc.recipe.egg:script
'
,
'zc.recipe.egg:script
s'
):
# zc.recipe.egg:* installs
# zc.recipe.egg:* installs
# 1) eggs, that are explicitly specified,
# 1) eggs, that are explicitly specified,
# 2) indirect dependencies of eggs from "1", and
# 2) indirect dependencies of eggs from "1", and
...
...
nxdbom/nxdbom_test.py
View file @
77e7b824
...
@@ -223,6 +223,20 @@ eggs = pygolang
...
@@ -223,6 +223,20 @@ eggs = pygolang
pygolang 0.1 https://pypi.org/project/pygolang/0.1/
pygolang 0.1 https://pypi.org/project/pygolang/0.1/
"""
)
"""
)
case1
(
"""
\
[manpy]
recipe = zc.recipe.egg:script
_d = /ROOT/develop-eggs
_e = /ROOT/eggs
__buildout_installed__ =
eggs = dream
initialization = # pulp needs glpk in $PATH
import os
os.environ['PATH'] = '...'
-- /ROOT/develop-eggs/dream.egg-link --
"""
,
''
)
# no `eggs =`
# no `eggs =`
case1
(
"""
\
case1
(
"""
\
[selenium]
[selenium]
...
...
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