from setuptools import setup, find_packages
def _get_requirements():
with open('requirements.in', encoding='utf-8') as f:
lines = f.readlines()
lines = [line[:-1] for line in lines if not line.startswith('#')]
return lines
setup(name='Ennstatus',
version='5.0.0',
description=('Ennstatus provides the user with vital information about '
'the status of the organizations Tor servers.'),
author='Frënn vun der Ënn',
author_email='info@enn.lu',
url='https://bitbucket.org/fvde/ennstatus',
license='GPLv3+',
packages=find_packages(),
package_data={'ennstatus': ['static/css/*.css',
'static/css/flags/img/png/*.png',
'static/css/flags/img/gif/*.gif',
'static/css/flags/*.css',
'static/files/*',
'static/images/*',
'static/videos/*',
'static/js/*',
'static/videos/subtitles/*.vtt',
'templates/*.html',
'templates/api/export/xml/*.xml',
'templates/donate/*.html',
'templates/root/*.html',
'templates/root/*.txt',
'templates/status/*.html',
'templates/stats/*.html',
'templates/errorpages/*.html',
'api/schema/*.json',
]},
install_requires=_get_requirements(),
entry_points={
'console_scripts': [
'ennstatuscli = ennstatus.cli:cli',
]
},
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
('License :: OSI Approved :: '
'GNU General Public License v3 or later (GPLv3+)'),
]
)