File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ clean-test: ## remove test and coverage artifacts
51
51
rm -fr .pytest_cache
52
52
53
53
lint : # # check style with flake8
54
- flake8 standard_names standard_names/tests
54
+ flake8 standard_names
55
55
56
56
pretty : # # reformat files to make them look pretty
57
57
find standard_names -name ' *.py' | xargs isort
58
- black setup.py standard_names
58
+ black standard_names
59
59
60
60
test : # # run tests quickly with the default Python
61
- py.test
61
+ pytest -vvv
62
62
63
63
test-all : # # run tests on every Python version with tox
64
64
tox
@@ -73,7 +73,7 @@ docs: ## generate Sphinx HTML documentation, including API docs
73
73
sphinx-apidoc --force -o docs/api standard_names * tests
74
74
$(MAKE ) -C docs clean
75
75
$(MAKE ) -C docs html
76
- $(BROWSER ) docs/_build /html/index.html
76
+ $(BROWSER ) docs/build /html/index.html
77
77
78
78
changelog :
79
79
changelog --force --batch
@@ -85,9 +85,9 @@ release: dist ## package and upload a release
85
85
twine upload dist/*
86
86
87
87
dist : clean # # builds source and wheel package
88
- python setup.py sdist
89
- python setup.py bdist_wheel
88
+ python -m build
90
89
ls -l dist
90
+ twine check dist/*
91
91
92
92
install : clean # # install the package to the active Python's site-packages
93
- python setup.py install
93
+ pip install -e .
You can’t perform that action at this time.
0 commit comments