From 8e150168a6d6219d3dc3c47e43b9a238756121be Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Wed, 7 Apr 2021 09:01:21 +0200 Subject: [PATCH] Bump to version 1.0.3. --- CHANGELOG.rst | 9 +++++++++ README.rst | 8 ++++---- cyipopt/version.py | 2 +- setup.py | 8 +++++++- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index faef4113..46ed968c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -36,6 +36,15 @@ Include sections: Version History --------------- +[1.0.3] - 2021-04-07 +~~~~~~~~~~~~~~~~~~~~ + +Changed ++++++++ + +- Changed PyPi distribution name back to ``ipopt``, as ``cyipopt`` is currently + unavailable. + [1.0.2] - 2021-04-06 ~~~~~~~~~~~~~~~~~~~~ diff --git a/README.rst b/README.rst index fc05e10b..20adf610 100644 --- a/README.rst +++ b/README.rst @@ -23,10 +23,10 @@ Status .. image:: https://anaconda.org/conda-forge/cyipopt/badges/downloads.svg :target: https://anaconda.org/conda-forge/cyipopt * - PyPI - - .. image:: https://badge.fury.io/py/cyipopt.svg - :target: https://pypi.org/project/cyipopt - .. image:: https://pepy.tech/badge/cyipopt - :target: https://pypi.org/project/cyipopt + - .. image:: https://badge.fury.io/py/ipopt.svg + :target: https://pypi.org/project/ipopt + .. image:: https://pepy.tech/badge/ipopt + :target: https://pypi.org/project/ipopt * - Read the Docs - .. image:: https://readthedocs.org/projects/cyipopt/badge/?version=latest :target: https://cyipopt.readthedocs.io/en/latest/?badge=latest diff --git a/cyipopt/version.py b/cyipopt/version.py index 0b71ceac..62958eac 100644 --- a/cyipopt/version.py +++ b/cyipopt/version.py @@ -10,4 +10,4 @@ License: EPL 1.0 """ -__version__ = '1.1.0.dev0' +__version__ = '1.0.3' diff --git a/setup.py b/setup.py index 5b6b6d74..49517e12 100644 --- a/setup.py +++ b/setup.py @@ -193,7 +193,13 @@ def handle_ext_modules_general_os(): else: ext_module_data = handle_ext_modules_general_os() EXT_MODULES, DATA_FILES, include_package_data = ext_module_data - setup(name=PACKAGE_NAME, + # NOTE : The `name` kwarg here is the distribution name, i.e. the name that + # PyPi uses for a collection of packages. Historically this has been + # `ipopt`, so `pip install ipopt` will now install the `cyipopt` and + # `ipopt` packages into the `site-packages` directory. Both `import + # cyipopt` and `import ipopt` will work, with the later giving a + # deprecation warning. + setup(name=DEPRECATED_PACKAGE_NAME, version=VERSION, author=AUTHOR, author_email=EMAIL,