mirror of
https://github.com/clearml/clearml
synced 2025-04-09 23:24:31 +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:
|
||||
if line.strip().startswith('#'):
|
||||
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':
|
||||
clearml_found = True
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user