From 0c62a90b5a241f106c380d7d0fe612f1fdf1fc93 Mon Sep 17 00:00:00 2001 From: Ellen Marie Dash Date: Wed, 10 Jul 2019 12:56:07 -0400 Subject: [PATCH 1/4] Don't use distutils_twine; enable zipapp support for bork. --- setup.cfg | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index c39112e6..d17a5f32 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,15 +50,13 @@ linting = testing = pytest -release = - distutils_twine~=3.0 +#release = +# distutils_twine~=3.0 [options.entry_points] console_scripts = emanate = emanate.cli:main -distutils.commands = - release = distutils_twine:release [bdist] bdist-base = build/bdist @@ -82,3 +80,6 @@ exclude = build, dist, venv + +[bork] +zipapp_main = emanate.cli:main From de9c13fb14a0be0182cd4bbbf4e478745a15bff4 Mon Sep 17 00:00:00 2001 From: Ellen Marie Dash Date: Wed, 10 Jul 2019 12:57:45 -0400 Subject: [PATCH 2/4] Version bump to 7.0. I'm not sure a major bump is needed, but better safe than fucking up other people's stuff. --- emanate/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emanate/__init__.py b/emanate/__init__.py index 2e2e1bdc..173ccaaa 100644 --- a/emanate/__init__.py +++ b/emanate/__init__.py @@ -20,7 +20,7 @@ #: The running Emanate version. #: Emanate follows the Semantic Versioning convention; see https://semver.org/ -__version__ = "6.0.1" +__version__ = "7.0.0" class FilePair(namedtuple('FilePair', ['src', 'dest'])): From d5b448af98144e669b57951d28c21b99dace0d41 Mon Sep 17 00:00:00 2001 From: Ellen Marie Dash Date: Wed, 10 Jul 2019 13:02:10 -0400 Subject: [PATCH 3/4] Update README. --- README.md | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 9616a2ac..837922e5 100644 --- a/README.md +++ b/README.md @@ -10,21 +10,13 @@ Inspired by [effuse](https://github.com/programble/effuse) and ## Installation -### Via Pip/PyPi - -If you prefer using virtualenv: - ``` -$ python3 -m venv ./venv -$ # Activate venv $ pip3 install emanate ``` -Otherwise, this is probably easier: - -``` -$ pip3 install emanate --user -``` +Or find the [latest release](https://github.com/duckinator/emanate/releases) +and grab the `emanate-.pyz` file. This should work as a +standalone executable. If it doesn't, try `python3 emanate-.pyz`. Emanate version numbers follow the [semantic versioning] convention. A [PEP 440] version specification for [compatible releases], like `~= 6.0`, @@ -35,16 +27,6 @@ is the recommended way to select appropriate versions. [compatible releases]: https://www.python.org/dev/peps/pep-0440/#compatible-release -### Via DNF (Fedora 29 only) - -If you're on Fedora 29, the [Puppy Technology](https://puppy.technology/) -RPM repository contains the latest package for Emanate. - -``` -$ dnf install https://rpm.puppy.technology/repo.rpm -$ dnf install emanate --refresh -``` - ## Usage ``` From 5e28f09728fb67dc2a3dab14387cea8128e0eb5f Mon Sep 17 00:00:00 2001 From: Ellen Marie Dash Date: Wed, 10 Jul 2019 13:03:34 -0400 Subject: [PATCH 4/4] *sighs forever* --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index d17a5f32..c8c653ef 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,6 +45,8 @@ linting = flake8-bugbear flake8-commas flake8-docstrings + # pydocstyle is pinned due to https://gitlab.com/pycqa/flake8-docstrings/issues/36 + pydocstyle<4 pylint testing =