Skip to content

Commit 0177ac3

Browse files
authored
Remove use of setup.py (#158)
* Remove use of setup.py * Remove Codacy * Remove conda-recipe
1 parent b1ca8dc commit 0177ac3

File tree

8 files changed

+7
-78
lines changed

8 files changed

+7
-78
lines changed

.codacy.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/black.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- uses: psf/black@stable
2121
with:
2222
options: "--check --verbose --diff"
23-
src: "setup.py pymt tests"
23+
src: "pymt tests"

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Ready to contribute? Here's how to set up *pymt* for local development.
7272
$ cd pymt/
7373
$ conda install --file=requirements.txt
7474

75-
$ python setup.py develop
75+
$ pip install -e .
7676

7777
4. Create a branch for local development::
7878

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ recursive-exclude docs *
1010
recursive-exclude scripts *py
1111
recursive-exclude notebooks *
1212

13-
exclude .codacy.yaml
1413
exclude .gitmodules
1514
exclude .landscape.yml
1615
exclude .readthedocs.yaml

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ lint: ## check style with flake8
5656
pretty: ## reformat files to make them look pretty
5757
find pymt -name '*.py' | xargs isort
5858
find tests -name '*.py' | xargs isort
59-
black setup.py pymt tests
59+
black pymt tests
6060

6161
test: ## run tests quickly with the default Python
62-
py.test
62+
pytest
6363

6464
test-all: ## run tests on every Python version with tox
6565
tox
@@ -86,9 +86,8 @@ release: dist ## package and upload a release
8686
twine upload dist/*
8787

8888
dist: clean ## builds source and wheel package
89-
python setup.py sdist
90-
python setup.py bdist_wheel
89+
python -m build
9190
ls -l dist
9291

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

README.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Python Modeling Toolkit (pymt)
44
==================================
55

66
|Build Status| |License| |Code Style| |Documentation Status| |Coverage Status| |Conda Version|
7-
|Conda Installation| |Conda Downloads| |Codacy| |Binder|
7+
|Conda Installation| |Conda Downloads| |Binder|
88

99
Quick links:
1010

@@ -84,8 +84,6 @@ The Community Surface Dynamics Modeling System (CSDMS)*.
8484
:target: https://conda.anaconda.org/conda-forge
8585
.. |Conda Downloads| image:: https://anaconda.org/conda-forge/pymt/badges/downloads.svg
8686
:target: https://anaconda.org/conda-forge/pymt
87-
.. |Codacy| image:: https://app.codacy.com/project/badge/Grade/e8e273131ecb4d7d981fe9f4cf3e83d9
88-
:target: https://www.codacy.com/manual/mcflugen/pymt?utm_source=github.com&utm_medium=referral&utm_content=csdms/pymt&utm_campaign=Badge_Grade
8987
.. |Binder| image:: https://static.mybinder.org/badge_logo.svg
9088
:target: https://static.mybinder.org/badge_logo.svg
9189

conda-recipe/meta.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ minversion = "6.0"
8888
testpaths = ["notebooks", "pymt", "tests"]
8989
norecursedirs = [".*", "*.egg*", "build", "dist"]
9090
addopts = """
91-
--ignore setup.py
9291
--tb native
9392
--strict-markers
9493
--durations 16

0 commit comments

Comments
 (0)