setup.py (749B)
1 from setuptools import setup 2 import os 3 4 requirements = [] 5 f = open('requirements.txt', 'r') 6 while True: 7 l = f.readline() 8 if l == '': 9 break 10 requirements.append(l.rstrip()) 11 f.close() 12 13 f = open('README.md', 'r') 14 description = f.read() 15 f.close() 16 17 setup( 18 packages=[ 19 'feedwarrior', 20 'feedwarrior.cmd', 21 'feedwarrior.adapters', 22 'feedwarrior.runnable', 23 ], 24 install_requires=[ 25 requirements, 26 ], 27 entry_points = { 28 'console_scripts': [ 29 'feedwarrior = feedwarrior.runnable.main:main', 30 ], 31 }, 32 data_files=[("man/man1", ["man/man1/feedwarrior.1"],)], 33 long_description=description, 34 long_description_content_type='text/markdown', 35 )