-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
59 lines (51 loc) · 2.28 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2014 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of CKAN Private Dataset Extension.
# CKAN Private Dataset 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.
# CKAN Private Dataset 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 CKAN Private Dataset Extension. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
version = '0.4.1'
setup(
name='ckanext-privatedatasets',
version=version,
description='CKAN Extension - Private Datasets',
long_description='''
This CKAN extension allows a user to create private datasets that only certain users will be able to see. When a dataset is being created, it's possible to specify the list of users that can see this dataset. In addition, the extension provides an HTTP API that allows to add users programatically.
''',
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='ckan, private, datasets',
author='Aitor Magan, Francisco de la Vega',
author_email='fdelavega@ficodes.com',
url='https://conwet.fi.upm.es',
download_url='https://github.com/conwetlab/ckanext-privatedatasets/tarball/v' + version,
license='',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext', 'ckanext.privatedatasets'],
include_package_data=True,
zip_safe=False,
setup_requires=[
'nose>=1.3.0'
],
install_requires=[
# -*- Extra requirements: -*-
],
tests_require=[
'parameterized',
'selenium==3.13.0'
],
test_suite='nosetests',
entry_points='''
[ckan.plugins]
# Add plugins here, e.g.
privatedatasets=ckanext.privatedatasets.plugin:PrivateDatasets
''',
)