Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.cmmi
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
2
Merge Requests
2
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
nexedi
slapos.recipe.cmmi
Commits
9bb2c613
Commit
9bb2c613
authored
Sep 21, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop compatibility code for zc.buildout<2
parent
4f14e1ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
setup.py
setup.py
+1
-1
slapos/recipe/cmmi/__init__.py
slapos/recipe/cmmi/__init__.py
+1
-9
No files found.
setup.py
View file @
9bb2c613
...
...
@@ -41,7 +41,7 @@ setup(
include_package_data
=
True
,
zip_safe
=
False
,
install_requires
=
[
'zc.buildout'
,
'zc.buildout
>=2
'
,
'setuptools'
,
'slapos.recipe.build>=0.40'
,
],
...
...
slapos/recipe/cmmi/__init__.py
View file @
9bb2c613
...
...
@@ -12,15 +12,7 @@ import stat
import
subprocess
import
sys
import
zc.buildout
try
:
# import from zc.buildout>2
from
zc.buildout.buildout
import
bool_option
except
:
def
bool_option
(
options
,
name
,
defaults
=
None
):
if
getattr
(
options
,
"query_bool"
,
None
)
is
None
:
from
zc.buildout.buildout
import
Options
options
=
Options
({},
"options"
,
options
)
return
options
.
query_bool
(
name
,
defaults
)
from
zc.buildout.buildout
import
bool_option
startup_environ
=
os
.
environ
.
copy
()
...
...
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