Skip to content

Commit

Permalink
0.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Sep 11, 2022
2 parents 70e8567 + 275d0d9 commit 9eb36bf
Show file tree
Hide file tree
Showing 26 changed files with 44 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes

## 0.4.1 (2022-09-11)

- DEV: Cleanup of `docs` folder structure.
- DEV: Include logo in repo.

## 0.4.0 (2022-09-09)

- FEATURE: Dropped support for Python 3.6.
Expand Down
1 change: 0 additions & 1 deletion HOWTORELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
1) Tag branch `master` with `f"v{version:s}"`: `git tag "v0.0.1"`
1) Push the tag to Github: `git push origin --tags`
1) Build and sign packages: `make release`
1) Upload package to `pypitest` and review result: `make upload_test`
1) Upload package to `pypi`: `make upload`
1) Change to branch `develop`: `git checkout develop`
1) In branch `develop`, bump the package version in `src/wenv/__init__.py` by changing the `__version__` string.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![wenv](http://www.pleiszenburg.de/wenv_logo.png)
![wenv](docs/source/_static/logo.png "wenv logo")

# wenv - Running Python on Wine

Expand Down Expand Up @@ -68,7 +68,7 @@ See section on [Bugs and Issues](https://wenv.readthedocs.io/en/stable/bugs.html

- Full project documentation
- at [Read the Docs](https://wenv.readthedocs.io/en/latest/)
- at [`wenv` repository](https://github.com/pleiszenburg/wenv/blob/master/docs/index.rst)
- at [`wenv` repository](https://github.com/pleiszenburg/wenv/blob/master/docs/source/index.rst)
- [Authors](https://github.com/pleiszenburg/wenv/blob/master/AUTHORS.md)
- [Change log (current)](https://github.com/pleiszenburg/wenv/blob/develop/CHANGES.md) (changes in development branch since last release)
- [Change log (past)](https://github.com/pleiszenburg/wenv/blob/master/CHANGES.md) (release history)
Expand Down
6 changes: 3 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# docs/makefile: GNU makefile for building the documentation
#
# Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
# Copyright (C) 2017-2022 Sebastian M. Ernst <[email protected]>
#
# <LICENSE_BLOCK>
# The contents of this file are subject to the GNU Lesser General Public License
Expand All @@ -23,8 +23,8 @@
SPHINXOPTS =
SPHINXBUILD = python -msphinx
SPHINXPROJ = wenv
SOURCEDIR = .
BUILDDIR = _build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down
1 change: 0 additions & 1 deletion docs/changes.md

This file was deleted.

23 changes: 23 additions & 0 deletions docs/source/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-

"""
WENV
Running Python on Wine
https://github.com/pleiszenburg/wenv
docs/source/__init__.py: Docs source root
Copyright (C) 2017-2022 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Version 2.1 ("LGPL" or "License"). You may not use this file except in
compliance with the License. You may obtain a copy of the License at
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
https://github.com/pleiszenburg/wenv/blob/master/LICENSE
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
specific language governing rights and limitations under the License.
</LICENSE_BLOCK>
"""
Binary file added docs/source/_static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/source/changes.md
10 changes: 5 additions & 5 deletions docs/conf.py → docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Running Python on Wine
https://github.com/pleiszenburg/wenv
docs/conf.py: Configures the documentation build process
docs/source/conf.py: Configures the documentation build process
Copyright (C) 2017-2022 Sebastian M. Ernst <[email protected]>
Expand Down Expand Up @@ -34,9 +34,9 @@
import sys

# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))

from docs.version import get_version
from docs.source.version import get_version

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -124,14 +124,14 @@
('<i class="fa fa-envelope fa-fw"></i> Mailing List', 'https://groups.io/g/zugbruecke-dev'),
('<i class="fa fa-comments fa-fw"></i> Chat', 'https://matrix.to/#/#zugbruecke:matrix.org'),
# ('<i class="fa fa-file-text fa-fw"></i> Citation', 'https://doi.org/000'),
('<i class="fa fa-info-circle fa-fw"></i> pleiszenburg.de', 'http://www.pleiszenburg.de/'),
('<i class="fa fa-info-circle fa-fw"></i> pleiszenburg.de', 'https://www.pleiszenburg.de/'),
],
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ["_static"]
html_static_path = ["_static"]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/index.rst → docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:github_url:

.. image:: http://www.pleiszenburg.de/wenv_logo.png
.. image:: _static/logo.png
:alt: wenv

wenv - Running Python on Wine
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/support.rst → docs/source/support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Paid Support

In addition to the previous options, paid support is available from `pleiszenburg.de - Independent Scientific Services`_.

.. _pleiszenburg.de - Independent Scientific Services: http://www.pleiszenburg.de
.. _pleiszenburg.de - Independent Scientific Services: https://www.pleiszenburg.de
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/version.py → docs/source/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Running Python on Wine
https://github.com/pleiszenburg/wenv
docs/version.py: Package version parser
docs/source/version.py: Package version parser
Copyright (C) 2017-2022 Sebastian M. Ernst <[email protected]>
Expand Down Expand Up @@ -55,7 +55,7 @@ def parse_version(code: str) -> str:
def get_version() -> str:

path = os.path.join(
os.path.dirname(__file__), '..', SRC_DIR, "wenv", "__init__.py",
os.path.dirname(__file__), '..', '..', SRC_DIR, "wenv", "__init__.py",
)

with open(path, "r", encoding="utf-8") as f:
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# IMPORT / EXPORT
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

__version__ = '0.4.0' # Bump version HERE!
__version__ = '0.4.1' # Bump version HERE!

from ._core.env import (
cli,
Expand Down

0 comments on commit 9eb36bf

Please sign in to comment.