From ad47c637486e231323c4d01e9c238f6a85cf2cf4 Mon Sep 17 00:00:00 2001 From: Jiri Kuncar Date: Tue, 28 Jul 2015 14:27:14 +0200 Subject: [PATCH] Invenio-Records v0.2.0 Signed-off-by: Jiri Kuncar --- CHANGES.rst | 22 ++++++++++++++++++++++ RELEASE-NOTES.rst | 31 ++++++++++++++++++++++--------- invenio_records/version.py | 2 +- setup.cfg | 29 +++++++++++++++++++++++++++++ setup.py | 21 +++++++++++++-------- 5 files changed, 87 insertions(+), 18 deletions(-) create mode 100644 setup.cfg diff --git a/CHANGES.rst b/CHANGES.rst index 2b28ae8e..42fa3082 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -24,6 +24,28 @@ Changes ======= +Version 0.2.0 (release 2015-07-29) +---------------------------------- + +New features +~~~~~~~~~~~~ + +- Moves PID provider for recids and Datacite tasks from Invenio. +- Adds new config variable RECORD_PROCESSORS that allows to specify + which processors to use depending on the input type. + +Improved features +~~~~~~~~~~~~~~~~~ + +- If no record is found return `None` instead of raising + `AttributeError`. + +Bug fixes +~~~~~~~~~ + +- Fixes export of records in non HTML formats. + Version 0.1.0 (release 2015-07-03) +---------------------------------- - Initial public release. diff --git a/RELEASE-NOTES.rst b/RELEASE-NOTES.rst index aa51ae01..6a3a6e84 100644 --- a/RELEASE-NOTES.rst +++ b/RELEASE-NOTES.rst @@ -1,8 +1,8 @@ -==================================== - Invenio-Records v0.1.0 is released -==================================== +======================== + Invenio-Records v0.2.0 +======================== -Invenio-Records v0.1.0 was released on July 3, 2015. +Invenio-Records v0.2.0 was released on July 29, 2015. About ----- @@ -11,20 +11,33 @@ Invenio-Records is a metadata storage module. *This is an experimental development preview release.* -What's new ----------- +New features +------------ + +- Moves PID provider for recids and Datacite tasks from Invenio. +- Adds new config variable RECORD_PROCESSORS that allows to specify + which processors to use depending on the input type. + +Improved features +----------------- + +- If no record is found return `None` instead of raising + `AttributeError`. + +Bug fixes +--------- -- Initial public release. +- Fixes export of records in non HTML formats. Installation ------------ - $ pip install invenio-records + $ pip install invenio-records==0.2.0 Documentation ------------- - http://invenio-records.readthedocs.org/en/v0.1.0 + http://invenio-records.readthedocs.org/en/v0.2.0 Happy hacking and thanks for flying Invenio-Records. diff --git a/invenio_records/version.py b/invenio_records/version.py index a2299347..c3a2ae94 100644 --- a/invenio_records/version.py +++ b/invenio_records/version.py @@ -28,4 +28,4 @@ and parsed by ``setup.py``. """ -__version__ = "0.1.1.dev20150721" +__version__ = "0.2.0" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..fe0c6546 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,29 @@ +# This file is part of Invenio. +# Copyright (C) 2015 CERN. +# +# Invenio is free software; you can redistribute it +# and/or modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# Invenio 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 +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Invenio; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307, USA. +# +# In applying this license, CERN does not +# waive the privileges and immunities granted to it by virtue of its status +# as an Intergovernmental Organization or submit itself to any jurisdiction. + +[wheel] +universal=1 + +[build_sphinx] +source-dir = docs/ +build-dir = docs/_build +all_files = 1 diff --git a/setup.py b/setup.py index edb939cf..6e17faaf 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ 'six>=1.7.2', 'jsonpatch>=1.11', # FIXME 'Invenio>2.1', - 'dojson>=0.1.0', + 'dojson>=0.1.1', 'invenio-pidstore>=0.1.0', # TODO consider making it optional ] @@ -49,6 +49,17 @@ 'coverage>=3.7.1', ] +extras_require = { + 'docs': [ + 'Sphinx>=1.3', + 'sphinx_rtd_theme>=0.1.7', + ], + 'documents': [ + 'invenio-documents>=0.1.0', + ], + 'tests': test_requirements, +} + class PyTest(TestCommand): """PyTest Test.""" @@ -106,13 +117,7 @@ def run_tests(self): include_package_data=True, platforms='any', install_requires=requirements, - extras_require={ - 'docs': [ - 'Sphinx>=1.3', - 'sphinx_rtd_theme>=0.1.7' - ], - 'tests': test_requirements - }, + extras_require=extras_require, classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers',