setup.py: fix deps & files
parent
65803b328d
commit
39b0a1d7cc
|
@ -55,7 +55,7 @@ You do need:
|
|||
Simplest way to get these:
|
||||
|
||||
```shell
|
||||
pip install -r requirements.txt
|
||||
pip install git+https://git.pictuga.com/pictuga/morss.git@master
|
||||
```
|
||||
|
||||
You may also need:
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
lxml
|
||||
bs4
|
||||
python-dateutil <= 1.5
|
||||
chardet
|
||||
pymysql
|
17
setup.py
17
setup.py
|
@ -1,14 +1,23 @@
|
|||
from setuptools import setup, find_packages
|
||||
from setuptools import setup
|
||||
from glob import glob
|
||||
|
||||
package_name = 'morss'
|
||||
|
||||
setup(
|
||||
name = package_name,
|
||||
description = 'Get full-text RSS feeds',
|
||||
author = 'pictuga, Samuel Marks',
|
||||
author_email = 'contact at pictuga dot com',
|
||||
url = 'http://morss.it/',
|
||||
download_url = 'https://git.pictuga.com/pictuga/morss',
|
||||
license = 'AGPL v3',
|
||||
package_dir={package_name: package_name},
|
||||
packages=find_packages(),
|
||||
packages = [package_name],
|
||||
install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet', 'pymysql'],
|
||||
package_data = {package_name: ['feedify.ini', 'reader.html.template']},
|
||||
test_suite=package_name + '.tests')
|
||||
data_files = [
|
||||
('share/' + package_name, glob('www/*.*')),
|
||||
('share/' + package_name + '/cgi', [])
|
||||
],
|
||||
entry_points = {
|
||||
'console_scripts': [package_name + '=' + package_name + ':main']
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue