setup.py
def parse_requirements():
    """Parse the modules from requirements.txt"""
    src_dir = os.path.abspath(os.path.dirname(__file__))
    req_file = os.path.join(src_dir, 'requirements.txt')
    reqs = open(req_file, 'r').read().strip().split('\n')
    reqs = [req.strip() for req in reqs if 'git+' not in req]
    return reqs
Parse the modules from requirements.txt
Parse the modules from requirements.txt
Parse the modules from requirements . txt
def parse_requirements():
    src_dir = os.path.abspath(os.path.dirname(__file__))
    req_file = os.path.join(src_dir, 'requirements.txt')
    reqs = open(req_file, 'r').read().strip().split('\n')
    reqs = [req.strip() for req in reqs if 'git+' not in req]
    return reqs
def parse_requirements ( ) : src_dir = os . path . abspath ( os . path . dirname ( __file__ ) ) req_file = os . path . join ( src_dir , 'requirements.txt' ) reqs = open ( req_file , 'r' ) . read ( ) . strip ( ) . split ( '\n' ) reqs = [ req . strip ( ) for req in reqs if 'git+' not in req ] return reqs
Parse the modules from requirements.txt
Parse the modules from requirements . txt
"""Parse the modules from requirements.txt"""