Commit 2346e5d0 authored by André Anjos's avatar André Anjos 💬
Browse files

Uniformize requirements

parent 46078bd7
......@@ -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'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment