Commit 0559751a authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Fix a typo

parent 840ab12c42c6
......@@ -4,7 +4,7 @@
# copyright 2003-2018 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of a cubicweb-file.
# This file is part of cubiweb-oauth.
#
# CubicWeb is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
......@@ -14,15 +14,17 @@
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""cubicweb-oauthsetup module using data from
"""cubicweb_oauth setup module using data from
cubicweb_oauth/__pkginfo__.py file
"""
from os.path import join, dirname
from setuptools import find_packages, setup
......@@ -49,12 +51,14 @@ with open(join(here, 'README')) as f:
long_description = f.read()
# get optional metadatas
data_files = __pkginfo__.get('data_files', None)
dependency_links = __pkginfo__.get('dependency_links', ())
requires = {}
for entry in ("__depends__",): # "__recommends__"):
requires.update(__pkginfo__.get(entry, {}))
install_requires = ["{0} {1}".format(d, v and v or "").strip()
for d, v in requires.items()]
......@@ -73,11 +77,8 @@ setup(
include_package_data=True,
entry_points={
'cubicweb.cubes': [
'file=cubicweb_file',
'oauth=cubicweb_oauth',
],
'cubicweb.i18ncube': [
'file=cubicweb_file.i18n',
]
},
zip_safe=False,
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment