Fix secrets config.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
1fe2443735
commit
dc5b3f3b3e
4 changed files with 103 additions and 6 deletions
10
setup.py
10
setup.py
|
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import codecs
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
|
@ -64,11 +64,9 @@ try:
|
|||
for key, value in extras_require.items():
|
||||
if key.startswith(':') and pkg_resources.evaluate_marker(key[1:]):
|
||||
install_requires.extend(value)
|
||||
except Exception:
|
||||
logging.getLogger(__name__).exception(
|
||||
'Failed to compute platform dependencies. All dependencies will be '
|
||||
'installed as a result.'
|
||||
)
|
||||
except Exception as e:
|
||||
print("Failed to compute platform dependencies: {}. ".format(e) +
|
||||
"All dependencies will be installed as a result.", file=sys.stderr)
|
||||
for key, value in extras_require.items():
|
||||
if key.startswith(':'):
|
||||
install_requires.extend(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue