2021-12-05 17:48:29 +00:00
|
|
|
from datetime import datetime
|
2020-04-14 15:36:42 +00:00
|
|
|
from glob import glob
|
2014-01-11 16:11:57 +00:00
|
|
|
|
2021-09-08 19:29:56 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2014-06-21 14:38:48 +00:00
|
|
|
package_name = 'morss'
|
2020-04-14 15:36:42 +00:00
|
|
|
|
2014-06-21 23:59:01 +00:00
|
|
|
setup(
|
2020-04-14 15:36:42 +00:00
|
|
|
name = package_name,
|
2021-12-05 17:48:29 +00:00
|
|
|
version = datetime.now().strftime('%Y%m%d.%H%M'),
|
2020-04-14 15:36:42 +00:00
|
|
|
description = 'Get full-text RSS feeds',
|
2021-12-05 17:59:14 +00:00
|
|
|
long_description = open('README.md').read(),
|
2021-12-05 18:14:57 +00:00
|
|
|
long_description_content_type = 'text/markdown',
|
2021-12-05 17:48:47 +00:00
|
|
|
author = 'pictuga',
|
2021-12-05 17:04:24 +00:00
|
|
|
author_email = 'contact@pictuga.com',
|
2020-04-14 15:36:42 +00:00
|
|
|
url = 'http://morss.it/',
|
|
|
|
download_url = 'https://git.pictuga.com/pictuga/morss',
|
|
|
|
license = 'AGPL v3',
|
|
|
|
packages = [package_name],
|
2021-09-11 10:12:51 +00:00
|
|
|
install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet'],
|
2021-12-04 13:26:40 +00:00
|
|
|
extras_require = {
|
|
|
|
'full': ['pymysql', 'redis', 'diskcache', 'gunicorn'],
|
|
|
|
'dev': ['pylint']
|
|
|
|
},
|
2020-04-15 20:30:45 +00:00
|
|
|
package_data = {package_name: ['feedify.ini']},
|
2020-04-14 15:36:42 +00:00
|
|
|
data_files = [
|
2020-04-14 17:34:12 +00:00
|
|
|
('share/' + package_name, ['README.md', 'LICENSE']),
|
|
|
|
('share/' + package_name + '/www', glob('www/*.*')),
|
|
|
|
('share/' + package_name + '/www/cgi', [])
|
2020-04-14 15:36:42 +00:00
|
|
|
],
|
|
|
|
entry_points = {
|
2020-08-28 17:38:48 +00:00
|
|
|
'console_scripts': [package_name + '=' + package_name + '.__main__:main']
|
2020-04-14 15:36:42 +00:00
|
|
|
})
|