Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.extension
Commits
2346e5d0
Commit
2346e5d0
authored
Mar 26, 2014
by
André Anjos
💬
Browse files
Uniformize requirements
parent
46078bd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
xbob/extension/__init__.py
View file @
2346e5d0
...
...
@@ -129,11 +129,14 @@ class Extension(DistutilsExtension):
if
'packages'
in
kwargs
:
del
kwargs
[
'packages'
]
# uniformize packages
packages
=
[
k
.
strip
().
lower
()
for
k
in
packages
]
# Boost requires a special treatment
boost_req
=
''
for
i
,
pkg
in
enumerate
(
packages
):
if
pkg
.
lower
().
startswith
(
'boost'
):
boost_req
=
pkg
.
lower
()
if
pkg
.
startswith
(
'boost'
):
boost_req
=
pkg
del
packages
[
i
]
# We still look for the keyword 'boost_modules'
...
...
Write
Preview
Supports
Markdown
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