From 84c319fa426a2cfc9935432b3155b7aa947a4124 Mon Sep 17 00:00:00 2001 From: Will Mayner Date: Sun, 26 Feb 2023 22:55:24 -0600 Subject: [PATCH 1/4] Remove CONTRIBUTING.md --- CONTRIBUTING.md | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index c19342a..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,18 +0,0 @@ -Installation issues -=================== - -Before opening an issue related to installation, please try to install PyEMD in -a fresh, empty Python virtual environment and check that the problem persists: - -```shell -pip install virtualenvwrapper -mkvirtualenv pyemd -pip install pyemd -``` - -PyEMD is not officially supported for (but may nonetheless work with) the following: - -- Anaconda distributions -- Windows operating systems - -However, if you need to use it in these cases, pull requests are welcome! From dd2806b8701ce019d6847b2ba9ecdf063528a3fb Mon Sep 17 00:00:00 2001 From: Will Mayner Date: Sun, 26 Feb 2023 22:55:43 -0600 Subject: [PATCH 2/4] Makefile: dist-check: only check wheels --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8ba3cc0..ec01ed6 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,7 @@ dist-sign: dist-check gpg --detach-sign -a $(wheelhouse)/*.whl dist-check: - twine check --strict $(dist)/* - twine check --strict $(wheelhouse)/* + twine check --strict $(wheelhouse)/*.whl dist-clean: rm -rf $(dist) From 905830584db4fc908cb3dc8bd839bd42aa39efae Mon Sep 17 00:00:00 2001 From: Will Mayner Date: Sun, 26 Feb 2023 22:56:17 -0600 Subject: [PATCH 3/4] setup.py: Import `get_config_var()` directly --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 3fe6fd4..d801b0f 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,13 @@ import os import platform import sys -from distutils.sysconfig import get_config_var +from sysconfig import get_config_var +from packaging.version import Version +from packaging.version import parse as parse_version from setuptools import Extension, setup from setuptools.command.build_ext import build_ext as _build_ext -from packaging.version import Version, parse as parse_version - def is_platform_mac(): return sys.platform == "darwin" From 255824f2ddc86fd37ad0971d9fb4533855ce5f65 Mon Sep 17 00:00:00 2001 From: Will Mayner Date: Mon, 27 Feb 2023 12:17:42 -0600 Subject: [PATCH 4/4] README: Remove Installation section --- README.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.rst b/README.rst index 015d654..c81e93b 100644 --- a/README.rst +++ b/README.rst @@ -15,14 +15,6 @@ it to be used with NumPy. **If you use this code, please cite the papers listed at the end of this document.** -Installation ------------- - -.. code:: bash - - pip install pyemd - - Usage -----