Skip to content

Commit b6db502

Browse files
committed
Update Makefile rules
1 parent 7a562f8 commit b6db502

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ clean-test: ## remove test and coverage artifacts
5151
rm -fr .pytest_cache
5252

5353
lint: ## check style with flake8
54-
flake8 standard_names standard_names/tests
54+
flake8 standard_names
5555

5656
pretty: ## reformat files to make them look pretty
5757
find standard_names -name '*.py' | xargs isort
58-
black setup.py standard_names
58+
black standard_names
5959

6060
test: ## run tests quickly with the default Python
61-
py.test
61+
pytest -vvv
6262

6363
test-all: ## run tests on every Python version with tox
6464
tox
@@ -73,7 +73,7 @@ docs: ## generate Sphinx HTML documentation, including API docs
7373
sphinx-apidoc --force -o docs/api standard_names *tests
7474
$(MAKE) -C docs clean
7575
$(MAKE) -C docs html
76-
$(BROWSER) docs/_build/html/index.html
76+
$(BROWSER) docs/build/html/index.html
7777

7878
changelog:
7979
changelog --force --batch
@@ -85,9 +85,9 @@ release: dist ## package and upload a release
8585
twine upload dist/*
8686

8787
dist: clean ## builds source and wheel package
88-
python setup.py sdist
89-
python setup.py bdist_wheel
88+
python -m build
9089
ls -l dist
90+
twine check dist/*
9191

9292
install: clean ## install the package to the active Python's site-packages
93-
python setup.py install
93+
pip install -e .

0 commit comments

Comments
 (0)