Add requirements, edit setup.py and README
This commit is contained in:
		@@ -19,6 +19,9 @@ You do need:
 | 
			
		||||
- [html2text](http://www.aaronsw.com/2002/html2text/)
 | 
			
		||||
- [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:
 | 
			
		||||
- Apache, with python-cgi support, to run on a server
 | 
			
		||||
- a fast internet connection
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
lxml
 | 
			
		||||
git+https://github.com/buriy/python-readability#egg=readability-lxml
 | 
			
		||||
python-dateutil <= 1.5
 | 
			
		||||
html2text
 | 
			
		||||
ordereddict
 | 
			
		||||
wheezy.template
 | 
			
		||||
							
								
								
									
										20
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								setup.py
									
									
									
									
									
								
							@@ -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',
 | 
			
		||||
	author='pictuga',
 | 
			
		||||
	author_email='contact at author name dot com',
 | 
			
		||||
	url='http://morss.it/',
 | 
			
		||||
	license='GPL 3+',
 | 
			
		||||
	packages=['morss'],
 | 
			
		||||
	package_data={'':['feedify.ini']},
 | 
			
		||||
	install_requires=[
 | 
			
		||||
		'readability-lxml',
 | 
			
		||||
		'python-dateutil <= 1.5',
 | 
			
		||||
		'lxml',
 | 
			
		||||
		'html2text',
 | 
			
		||||
		'ordereddict',
 | 
			
		||||
		'wheezy.template'
 | 
			
		||||
	]
 | 
			
		||||
	)
 | 
			
		||||
	package_dir={package_name: package_name},
 | 
			
		||||
	packages=find_packages(),
 | 
			
		||||
	package_data={package_name: ['feedify.ini']},
 | 
			
		||||
	test_suite=package_name + '.tests')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user