def get_requirements():
 filename = ('win_requirements.txt' if OS_WINDOWS else 'requirements.txt')
 with open(filename, 'r') as f:
  req_lines = f.readlines()
 reqs = []
 for line in req_lines:
  line = line.split('#')[0].strip()
  if line:
   reqs.append(line)
 return reqs

def get_requirements ( ) : filename = ( 'win_requirements.txt' if OS_WINDOWS else 'requirements.txt' ) with open ( filename , 'r' ) as f : req_lines = f . readlines ( ) reqs = [ ] for line in req_lines : line = line . split ( '#' ) [ 0 ] . strip ( ) if line : reqs . append ( line ) return reqs
to update the requirements for evennia .