Skip to content

Commit

Permalink
Release v0.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Apr 19, 2021
1 parent 07797a5 commit 6ec6ee2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cslug/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"""
"""

__version__ = '0.3.0'
__version__ = '0.4.0'
__version_info__ = tuple(map(int, __version__.split(".")))
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@
Changelog
=========
.. role:: red
:class: in-red
Release history for |cslug|.
Breaking changes are :red:`highlighted in red` text.
""" + "\n".join(f"v{i.stem}\n-{'-' * len(i.stem)}\n\n"
f".. rst-class:: spacious\n\n"
Expand Down
5 changes: 5 additions & 0 deletions docs/source/static/theme-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,8 @@ div[class*="highlight-py"] .highlight, div[class*="highlight-default"] .highligh
.wy-nav-content-wrap {
margin-left: min(28%, 300px);
}

/* Custom `.. rst-class:: in-red` blocks. */
.in-red {
color: darkred;
}
19 changes: 19 additions & 0 deletions history/0.4.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
* Force ``setup.py bdist_wheel`` to run ``clean --all``.
Doing so blocks setuptools from dumping files for the wrong platform from
the build cache folder into a wheel without any check to see if it is
required.
See :class:`cslug.building.bdist_wheel` for details.

* Support Android running Termux_.

* .. rst-class:: in-red

Drop the :c:`mblen()` function from :mod:`cslug.stdlib` due to its
unavailability on Android.

* Support Cygwin Python and Cygwin native |gcc|.
Formerly, |cslug| supported a Cygwin environment but only using a regular
MSVC build of Python and |gcc| cross compile headers for building generic
Windows applications.

.. _Termux: https://termux.com/

0 comments on commit 6ec6ee2

Please sign in to comment.