From 8350f8e4ea850e7cd7c962ab150d0cfde71b3966 Mon Sep 17 00:00:00 2001 From: Maximilian Moser <maximilian.moser@tuwien.ac.at> Date: Thu, 15 Jul 2021 14:38:49 +0200 Subject: [PATCH] Update package metadata for release --- AUTHORS.rst | 2 +- CHANGES.rst | 2 +- CONTRIBUTING.rst | 30 ++++++++++++++---------------- docs/conf.py | 10 +++++----- invenio_utilities_tuw/version.py | 2 +- setup.cfg | 2 +- setup.py | 8 +++----- 7 files changed, 26 insertions(+), 30 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 0f3b278..eda19ea 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -10,4 +10,4 @@ Authors Some utilities for InvenioRDM. -- TU Wien <maximilian.moser@tuwien.ac.at> +- TU Wien <tudata@tuwien.ac.at> diff --git a/CHANGES.rst b/CHANGES.rst index 25c8761..da2ce8c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,6 +8,6 @@ Changes ======= -Version 0.1.0 (released TBD) +Version 2021.1 (released 2021-07-15) - Initial public release. diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 0aeee8e..307eba0 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -10,7 +10,7 @@ Types of Contributions Report Bugs ~~~~~~~~~~~ -Report bugs at https://github.com/inveniosoftware/invenio-utilities-tuw/issues. +Report bugs at https://gitlab.tuwien.ac.at/fairdata/invenio-utilities-tuw/issues. If you are reporting a bug, please include: @@ -21,13 +21,13 @@ If you are reporting a bug, please include: Fix Bugs ~~~~~~~~ -Look through the GitHub issues for bugs. Anything tagged with "bug" +Look through the GitLab issues for bugs. Anything tagged with "bug" is open to whoever wants to implement it. Implement Features ~~~~~~~~~~~~~~~~~~ -Look through the GitHub issues for features. Anything tagged with "feature" +Look through the GitLab issues for features. Anything tagged with "feature" is open to whoever wants to implement it. Write Documentation @@ -41,7 +41,7 @@ Submit Feedback ~~~~~~~~~~~~~~~ The best way to send feedback is to file an issue at -https://github.com/inveniosoftware/invenio-utilities-tuw/issues. +https://gitlab.tuwien.ac.at/fairdata/invenio-utilities-tuw/issues. If you are proposing a feature: @@ -55,12 +55,12 @@ Get Started! Ready to contribute? Here's how to set up `invenio-utilities-tuw` for local development. -1. Fork the `inveniosoftware/invenio-utilities-tuw` repo on GitHub. +1. Fork the `inveniosoftware/invenio-utilities-tuw` repo on GitLab. 2. Clone your fork locally: .. code-block:: console - $ git clone git@github.com:your_name_here/invenio-utilities-tuw.git + $ git clone git@gitlab.tuwien.ac.at:your_name_here/invenio-utilities-tuw.git 3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local @@ -90,7 +90,7 @@ Ready to contribute? Here's how to set up `invenio-utilities-tuw` for local deve (code style), PEP257 (documentation), flake8 as well as build the Sphinx documentation and run doctests. -6. Commit your changes and push your branch to GitHub: +6. Commit your changes and push your branch to GitLab: .. code-block:: console @@ -103,16 +103,14 @@ Ready to contribute? Here's how to set up `invenio-utilities-tuw` for local deve -m "* Changes something that should not be visible in release notes." $ git push origin name-of-your-bugfix-or-feature -7. Submit a pull request through the GitHub website. +7. Submit a merge request through the GitLab website. -Pull Request Guidelines ------------------------ +Merge Request Guidelines +------------------------ -Before you submit a pull request, check that it meets these guidelines: +Before you submit a merge request, check that it meets these guidelines: -1. The pull request should include tests and must not decrease test coverage. -2. If the pull request adds functionality, the docs should be updated. Put +1. The merge request should include tests and must not decrease test coverage. +2. If the merge request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring. -3. The pull request should work for Python 2.7, 3.5 and 3.6. Check - https://travis-ci.org/inveniosoftware/invenio-utilities-tuw/pull_requests - and make sure that the tests pass for all supported Python versions. +3. The merge request should work for Python 3.8+. diff --git a/docs/conf.py b/docs/conf.py index dcec7cc..5056df3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -120,13 +120,13 @@ html_theme = "alabaster" html_theme_options = { "description": "Some utilities for InvenioRDM.", - "github_user": "inveniosoftware", - "github_repo": "invenio-utilities-tuw", - "github_button": False, - "github_banner": True, + "gitlab_user": "fairdata", + "gitlab_repo": "invenio-utilities-tuw", + "gitlab_button": False, + "gitlab_banner": True, "show_powered_by": False, "extra_nav_links": { - "invenio-utilities-tuw@GitHub": "https://github.com/inveniosoftware/invenio-utilities-tuw", + "invenio-utilities-tuw@GitLab": "https://gitlab.tuwien.ac.at/fairdata/invenio-utilities-tuw", "invenio-utilities-tuw@PyPI": "https://pypi.python.org/pypi/invenio-utilities-tuw/", }, } diff --git a/invenio_utilities_tuw/version.py b/invenio_utilities_tuw/version.py index 9deacf3..5f02d8c 100644 --- a/invenio_utilities_tuw/version.py +++ b/invenio_utilities_tuw/version.py @@ -12,4 +12,4 @@ This file is imported by ``invenio_utilities_tuw.__init__``, and parsed by ``setup.py``. """ -__version__ = "0.1.0" +__version__ = "2021.1" diff --git a/setup.cfg b/setup.cfg index d690f9a..db14031 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,7 +27,7 @@ directory = invenio_utilities_tuw/translations/ [extract_messages] copyright_holder = TU Wien -msgid_bugs_address = maximilian.moser@tuwien.ac.at +msgid_bugs_address = tudata@tuwien.ac.at mapping-file = babel.ini output-file = invenio_utilities_tuw/translations/messages.pot add-comments = NOTE diff --git a/setup.py b/setup.py index d499051..dd38a46 100644 --- a/setup.py +++ b/setup.py @@ -60,8 +60,8 @@ setup( keywords="invenio utilities tu wien", license="MIT", author="TU Wien", - author_email="maximilian.moser@tuwien.ac.at", - url="https://github.com/inveniosoftware/invenio-utilities-tuw", + author_email="tudata@tuwien.ac.at", + url="https://gitlab.tuwien.ac.at/fairdata/invenio-utilities-tuw", packages=packages, zip_safe=False, include_package_data=True, @@ -88,10 +88,8 @@ setup( "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", - "Development Status :: 1 - Planning", + "Development Status :: 4 - Beta", ], ) -- GitLab