setup.py (257B)
1 from setuptools import setup 2 import os 3 4 5 requirements = [] 6 f = open('requirements.txt', 'r') 7 while True: 8 l = f.readline() 9 if l == '': 10 break 11 requirements.append(l.rstrip()) 12 f.close() 13 14 15 setup( 16 install_requires=requirements, 17 ) 18