Add requirements, edit setup.py and README

master
pictuga 2014-06-21 16:38:48 +02:00
parent 3fbeb892ca
commit 3c859423b3
3 changed files with 16 additions and 13 deletions

View File

@ -19,6 +19,9 @@ You do need:
- [html2text](http://www.aaronsw.com/2002/html2text/) - [html2text](http://www.aaronsw.com/2002/html2text/)
- [OrderedDict](https://pypi.python.org/pypi/ordereddict) if using python < 2.7 - [OrderedDict](https://pypi.python.org/pypi/ordereddict) if using python < 2.7
Simplest way to get these:
`pip install -r requirements.txt`
You may also need: You may also need:
- Apache, with python-cgi support, to run on a server - Apache, with python-cgi support, to run on a server
- a fast internet connection - a fast internet connection

6
requirements.txt 100644
View File

@ -0,0 +1,6 @@
lxml
git+https://github.com/buriy/python-readability#egg=readability-lxml
python-dateutil <= 1.5
html2text
ordereddict
wheezy.template

View File

@ -1,19 +1,13 @@
from distutils.core import setup from setuptools import setup, find_packages
setup( name='morss', package_name = 'morss'
setup( name=package_name,
description='Get full-text RSS feeds', description='Get full-text RSS feeds',
author='pictuga', author='pictuga',
author_email='contact at author name dot com', author_email='contact at author name dot com',
url='http://morss.it/', url='http://morss.it/',
license='GPL 3+', license='GPL 3+',
packages=['morss'], package_dir={package_name: package_name},
package_data={'':['feedify.ini']}, packages=find_packages(),
install_requires=[ package_data={package_name: ['feedify.ini']},
'readability-lxml', test_suite=package_name + '.tests')
'python-dateutil <= 1.5',
'lxml',
'html2text',
'ordereddict',
'wheezy.template'
]
)