mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Add extra split identifier (#885)
Added an extra split identifier to make sure presence of extras does not influence determining whether clearml is included in requirements.
This commit is contained in:
parent
1eafa4f6f9
commit
3d5d8ef706
@ -255,7 +255,7 @@ class CreateAndPopulate(object):
|
|||||||
for line in reqs:
|
for line in reqs:
|
||||||
if line.strip().startswith('#'):
|
if line.strip().startswith('#'):
|
||||||
continue
|
continue
|
||||||
package = reduce(lambda a, b: a.split(b)[0], "#;@=~<>", line).strip()
|
package = reduce(lambda a, b: a.split(b)[0], "#;@=~<>[", line).strip()
|
||||||
if package == 'clearml':
|
if package == 'clearml':
|
||||||
clearml_found = True
|
clearml_found = True
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user