setup.py: fix deps & files

master
pictuga 2020-04-14 17:36:42 +02:00
parent 65803b328d
commit 39b0a1d7cc
3 changed files with 21 additions and 17 deletions

View File

@ -55,7 +55,7 @@ You do need:
Simplest way to get these: Simplest way to get these:
```shell ```shell
pip install -r requirements.txt pip install git+https://git.pictuga.com/pictuga/morss.git@master
``` ```
You may also need: You may also need:

View File

@ -1,5 +0,0 @@
lxml
bs4
python-dateutil <= 1.5
chardet
pymysql

View File

@ -1,14 +1,23 @@
from setuptools import setup, find_packages from setuptools import setup
from glob import glob
package_name = 'morss' package_name = 'morss'
setup( setup(
name=package_name, name = package_name,
description='Get full-text RSS feeds', description = 'Get full-text RSS feeds',
author='pictuga, Samuel Marks', author = 'pictuga, Samuel Marks',
author_email='contact at pictuga dot com', author_email = 'contact at pictuga dot com',
url='http://morss.it/', url = 'http://morss.it/',
license='AGPL v3', download_url = 'https://git.pictuga.com/pictuga/morss',
package_dir={package_name: package_name}, license = 'AGPL v3',
packages=find_packages(), packages = [package_name],
package_data={package_name: ['feedify.ini', 'reader.html.template']}, install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet', 'pymysql'],
test_suite=package_name + '.tests') package_data = {package_name: ['feedify.ini', 'reader.html.template']},
data_files = [
('share/' + package_name, glob('www/*.*')),
('share/' + package_name + '/cgi', [])
],
entry_points = {
'console_scripts': [package_name + '=' + package_name + ':main']
})