-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
45 lines (41 loc) · 1.42 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from platform import python_version
from sys import exit, version_info
from setuptools import setup, find_packages
if version_info < (3, 5):
print('Error: Python 3.5 required but found %s' % python_version())
exit(1)
with open('README.rst', 'r') as infile:
long_description = infile.read()
with open('nextcloud_news_updater/version.txt', 'r') as infile:
version = ''.join(infile.read().split())
setup(
name='nextcloud_news_updater',
version=version,
description='Nextcloud News updater - Fast updates for your RSS/Atom '
'feeds',
long_description=long_description,
author='Bernhard Posselt',
author_email='[email protected]',
url='https://github.com/nextcloud/news-updater',
packages=find_packages(
exclude=['tests', 'tests.*'],
),
include_package_data=True,
license='GPL',
keywords=['nextcloud', 'news', 'updater', 'RSS', 'Atom', 'feed', 'reader'],
install_requires=[],
classifiers=[
'Intended Audience :: System Administrators',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v3 or later ('
'GPLv3+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'nextcloud-news-updater = nextcloud_news_updater.__main__:main'
]
}
)