2014-09-02 17:52:55 +02:00
#!/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/>.
2014-06-23 17:25:37 +02:00
from setuptools import setup , find_packages
2018-07-16 10:38:08 +02:00
version = ' 0.2.19 '
2014-06-23 17:25:37 +02:00
setup (
name = ' ckanext-privatedatasets ' ,
version = version ,
2015-11-25 12:48:58 +01:00
description = ' CKAN Extension - Private Datasets ' ,
2014-06-23 17:25:37 +02:00
long_description = '''
2015-11-25 12:48:58 +01:00
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.
2014-06-23 17:25:37 +02:00
''' ,
classifiers = [ ] , # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
2015-11-25 12:48:58 +01:00
keywords = ' ckan, private, datasets ' ,
2014-06-23 17:25:37 +02:00
author = ' Aitor Magan ' ,
author_email = ' amagan@conwet.com ' ,
2015-11-25 12:48:58 +01:00
url = ' https://conwet.fi.upm.es ' ,
2015-11-25 13:45:16 +01:00
download_url = ' https://github.com/conwetlab/ckanext-privatedatasets/tarball/v ' + version ,
2014-06-23 17:25:37 +02:00
license = ' ' ,
packages = find_packages ( exclude = [ ' ez_setup ' , ' examples ' , ' tests ' ] ) ,
namespace_packages = [ ' ckanext ' , ' ckanext.privatedatasets ' ] ,
include_package_data = True ,
zip_safe = False ,
2015-11-25 12:48:58 +01:00
setup_requires = [
' nose>=1.3.0 '
] ,
2014-06-23 17:25:37 +02:00
install_requires = [
# -*- Extra requirements: -*-
] ,
2015-11-25 12:48:58 +01:00
tests_require = [
' nose_parameterized==0.3.3 ' ,
2016-03-02 15:43:23 +01:00
' selenium==2.52.0 '
2015-11-25 12:48:58 +01:00
] ,
test_suite = ' nosetests ' ,
2014-06-23 17:25:37 +02:00
entry_points = '''
[ ckan . plugins ]
# Add plugins here, e.g.
privatedatasets = ckanext . privatedatasets . plugin : PrivateDatasets
''' ,
2018-07-16 10:38:08 +02:00
)