File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -520,22 +520,22 @@ def _init_install_requires(self):
520
520
def _init_dependencies (self ):
521
521
try :
522
522
with open (os .path .join (self .path , 'dependencies' )) as f :
523
- self .__dependencies = f .readline ().strip ()
523
+ self .__dependencies = f .readline ().partition ( '#' )[ 0 ]. strip ()
524
524
except IOError :
525
525
self .__dependencies = ''
526
526
try :
527
527
with open (os .path .join (self .path , 'dependencies_check' )) as f :
528
- self .__dependencies_check = f .readline ().strip ()
528
+ self .__dependencies_check = f .readline ().partition ( '#' )[ 0 ]. strip ()
529
529
except IOError :
530
530
self .__dependencies_check = ''
531
531
try :
532
532
with open (os .path .join (self .path , 'dependencies_optional' )) as f :
533
- self .__dependencies_optional = f .readline ()
533
+ self .__dependencies_optional = f .readline (). partition ( '#' )[ 0 ]. strip ()
534
534
except IOError :
535
535
self .__dependencies_optional = ''
536
536
try :
537
537
with open (os .path .join (self .path , 'dependencies_order_only' )) as f :
538
- self .__dependencies_order_only = f .readline ()
538
+ self .__dependencies_order_only = f .readline (). partition ( '#' )[ 0 ]. strip ()
539
539
except IOError :
540
540
self .__dependencies_order_only = ''
541
541
You can’t perform that action at this time.
0 commit comments