Skip to content

Commit

Permalink
Merge pull request #96 from anaconda-distribution/setup
Browse files Browse the repository at this point in the history
Fix installation
  • Loading branch information
marcoesters authored Oct 14, 2022
2 parents de5ff41 + 2ac03e3 commit 4d15599
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion anaconda_linter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__name__ = "anaconda-linter"
__name__ = "anaconda_linter"
__version__ = "0.0.3"
__author__ = "Anaconda, Inc."
__email__ = "[email protected]"
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
Expand Down

0 comments on commit 4d15599

Please sign in to comment.