From e8f2e967cd2e2117b427b01dde959f1d2b86d7fe Mon Sep 17 00:00:00 2001 From: Marco Esters Date: Thu, 13 Oct 2022 07:38:50 -0700 Subject: [PATCH 1/4] Remove version pinnings --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index f64814fd..ce0aa7bc 100644 --- a/setup.py +++ b/setup.py @@ -14,16 +14,16 @@ def main(): requirements = [ "conda-build", - "jinja2>=3.0.3", + "jinja2", "jsonschema", "license-expression", "networkx", "pyyaml", "requests", - "ruamel.yaml>=0.16.1", + "ruamel.yaml", "tqdm", ] - test_requirements = ["pytest>=3", "pytest-cov", "pytest-html"] + test_requirements = ["pytest", "pytest-cov", "pytest-html"] run_lint = dict( author_email=anaconda_linter.__email__, From ade752f10d002e4f592fd0e269fb120497e9036b Mon Sep 17 00:00:00 2001 From: Marco Esters Date: Thu, 13 Oct 2022 07:39:07 -0700 Subject: [PATCH 2/4] Change name of module --- anaconda_linter/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anaconda_linter/__init__.py b/anaconda_linter/__init__.py index 8d7682db..fe72807b 100644 --- a/anaconda_linter/__init__.py +++ b/anaconda_linter/__init__.py @@ -1,4 +1,4 @@ -__name__ = "anaconda-linter" +__name__ = "anaconda_linter" __version__ = "0.0.3" __author__ = "Anaconda, Inc." __email__ = "distribution_team@anaconda.com" From 995742ace202fcef418a6ba214bde5b5c3b989c6 Mon Sep 17 00:00:00 2001 From: Marco Esters Date: Thu, 13 Oct 2022 11:00:53 -0700 Subject: [PATCH 3/4] Update deprecated installation methods --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5e47aa31..f4a2a211 100644 --- a/Makefile +++ b/Makefile @@ -88,9 +88,11 @@ release: dist ## package and upload a release twine upload dist/* dist: clean ## builds source and wheel package - python setup.py sdist - python setup.py bdist_wheel + python -m build ls -l dist install: clean ## install the package to the active Python's site-packages - python setup.py install + pip install . + +dev: clean ## install the package's development version + pip install -e . From 2ac03e3d99d31bbb0c257191e5758e8e41b46e2e Mon Sep 17 00:00:00 2001 From: Marco Esters Date: Thu, 13 Oct 2022 11:01:04 -0700 Subject: [PATCH 4/4] Update installation instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba2dfc3e..2eb90642 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ that packages' meta.yaml files adhere to certain Anaconda standards. ## Installation 1. `conda env create -f environment.yaml` 2. `conda activate anaconda-linter` -3. `python setup.py install` +3. `make install` ## Usage