forked from conwetlab/ckanext-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
85 lines (72 loc) · 2.7 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2014 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of OAuth2 CKAN Extension.
# OAuth2 CKAN Extension is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# OAuth2 CKAN Extension 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 Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with OAuth2 CKAN Extension. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
# from ckanext.oauth2 import __version__, __description__
PYPI_RST_FILTERS = (
# Remove travis ci badge
(r'.*travis-ci\.org/.*', ''),
# Remove pypip.in badges
(r'.*pypip\.in/.*', ''),
(r'.*crate\.io/.*', ''),
(r'.*coveralls\.io/.*', ''),
)
setup(
name='ckanext-oauth2',
version='0.8.0',
description='OAuth2 support for CKAN',
long_description='''
The OAuth2 extension allows site visitors to login through an OAuth2 server.
''',
keywords='CKAN, OAuth2',
author='Aitor Magán',
author_email='[email protected]',
url='https://github.com/conwetlab/ckanext-oauth2',
download_url='https://github.com/conwetlab/ckanext-oauth2/tarball/v0.8.0',
license='',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext'],
include_package_data=True,
zip_safe=False,
setup_requires=[
'nose>=1.3.0'
],
install_requires=[
'requests-oauthlib==0.8.0',
'pyjwt==1.7.1',
],
tests_require=[
'parameterized',
'selenium==3.5.0'
],
test_suite='nosetests',
entry_points='''
[ckan.plugins]
oauth2 = ckanext.oauth2.plugin:OAuth2Plugin
[nose.plugins]
pylons = pylons.test:PylonsPlugin
''',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Session',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Systems Administration :: Authentication/Directory',
],
)