From 33695d8f0afd7d098ef84ef144101430682fc49d Mon Sep 17 00:00:00 2001 From: RealPolitiX Date: Sat, 19 Sep 2020 10:32:57 -0500 Subject: [PATCH 1/2] Reformatted README.md for correct rendering on PyPI --- README.md | 13 +++++-------- setup.py | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1ec436f..d3434e1 100644 --- a/README.md +++ b/README.md @@ -12,23 +12,20 @@ Symmetrization of 2D pattern using nonrigid landmark registration with symmetry ### Installation -Install the PyPI version +1. Install the PyPI version -```bash -pip install symmetrize -``` +
 pip install symmetrize 
-Install the latest version from source repository +2. Install the latest version from source repository -```bash -pip install git+https://github.com/RealPolitiX/symmetrize.git -``` +
 pip install git+https://github.com/RealPolitiX/symmetrize.git 
### Requirements See [requirements](https://github.com/RealPolitiX/symmetrize/blob/master/requirements.txt) + ### Documentation and use Documentation of the package may be found [here](https://realpolitix.github.io/symmetrize/html/index.html) along with examples illustrating the main functionalities in [here](https://github.com/RealPolitiX/symmetrize/tree/master/examples). \ No newline at end of file diff --git a/setup.py b/setup.py index 8069ea4..3bad654 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ install_requires = [x.strip() for x in all_reqs if 'git+' not in x] dependency_links = [x.strip().replace('git+', '') for x in all_reqs if x.startswith('git+')] -with open(path.join(here, 'README.md'), encoding='utf-8') as f: +with open(path.join(here, 'README.md')) as f: long_description = f.read() setup( From 567d4e5cfde3ef2ee4b045d167b4a042375f7915 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 5 Mar 2021 08:39:30 +0000 Subject: [PATCH 2/2] fix: requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1080635 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1080654 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1082329 - https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1082750 --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9bb9273..d19df57 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,4 +10,5 @@ opencv-python # Packaging sphinx_rtd_theme sphinx -recommonmark \ No newline at end of file +recommonmark +pillow>=8.1.1 # not directly required, pinned by Snyk to avoid a vulnerability \ No newline at end of file