We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bebce6a commit fa3ee4bCopy full SHA for fa3ee4b
colcon_python_setup_py/package_identification/python_setup_py.py
@@ -51,7 +51,7 @@ def identify(self, desc): # noqa: D102
51
raise RuntimeError('Package type already set to different value')
52
desc.type = 'python'
53
54
- name = config['metadata'].name
+ name = config['metadata'].get('name')
55
if not name:
56
logger.error(
57
'Failed to determine Python package name in '
@@ -79,7 +79,7 @@ def getter(env):
79
80
desc.metadata['get_python_setup_options'] = getter
81
82
- desc.metadata['version'] = config['metadata'].version
+ desc.metadata['version'] = config['metadata'].get('version')
83
84
85
cwd_lock = None
0 commit comments