Remove CRLF in setupdata

This commit is contained in:
Florian Bruhin 2014-05-13 23:17:36 +02:00
parent 1f42cf74ad
commit cf30adf38d

View File

@ -1,62 +1,62 @@
# Copyright 2014 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # Copyright 2014 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
# #
# This file is part of qutebrowser. # This file is part of qutebrowser.
# #
# qutebrowser is free software: you can redistribute it and/or modify # qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# qutebrowser is distributed in the hope that it will be useful, # qutebrowser is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>. # along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
"""Data used by setup.py and scripts/freeze.py""" """Data used by setup.py and scripts/freeze.py"""
import sys import sys
import os import os
sys.path.insert(0, os.getcwd()) sys.path.insert(0, os.getcwd())
import qutebrowser import qutebrowser
def read_file(name): def read_file(name):
with open(name, encoding='utf-8') as f: with open(name, encoding='utf-8') as f:
return f.read() return f.read()
setupdata = { setupdata = {
'name': 'qutebrowser', 'name': 'qutebrowser',
'version': qutebrowser.__version__, 'version': qutebrowser.__version__,
'description': ("A keyboard-driven, vim-like browser based on PyQt5 and " 'description': ("A keyboard-driven, vim-like browser based on PyQt5 and "
"QtWebKit."), "QtWebKit."),
'long_description': read_file('README'), 'long_description': read_file('README'),
'url': 'http://www.qutebrowser.org/', 'url': 'http://www.qutebrowser.org/',
'author': "Florian Bruhin", 'author': "Florian Bruhin",
'author_email': 'me@qutebrowser.org', 'author_email': 'me@qutebrowser.org',
'license': 'GPL', 'license': 'GPL',
'classifiers': [ 'classifiers': [
'Development Status :: 3 - Alpha', 'Development Status :: 3 - Alpha',
'Environment :: X11 Applications :: Qt', 'Environment :: X11 Applications :: Qt',
'Intended Audience :: End Users/Desktop', 'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 or later ' 'License :: OSI Approved :: GNU General Public License v3 or later '
'(GPLv3+)', '(GPLv3+)',
'Natural Language :: English', 'Natural Language :: English',
'Operating System :: Microsoft :: Windows', 'Operating System :: Microsoft :: Windows',
'Operating System :: Microsoft :: Windows :: Windows XP', 'Operating System :: Microsoft :: Windows :: Windows XP',
'Operating System :: Microsoft :: Windows :: Windows 7', 'Operating System :: Microsoft :: Windows :: Windows 7',
'Operating System :: POSIX :: Linux', 'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Topic :: Internet', 'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Browsers', 'Topic :: Internet :: WWW/HTTP :: Browsers',
], ],
'keywords': 'pyqt browser web qt webkit', 'keywords': 'pyqt browser web qt webkit',
} }