File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ lint: ## check style with flake8
5555
5656pretty :
5757 find heat -name ' *.py' | xargs isort
58- black setup.py tests heat
58+ black tests heat
5959
6060test : # # run tests quickly with the default Python
6161 pytest
@@ -84,9 +84,8 @@ release: dist ## package and upload a release
8484 twine upload dist/*
8585
8686dist : clean # # builds source and wheel package
87- python setup.py sdist
88- python setup.py bdist_wheel
87+ python -m build
8988 ls -l dist
9089
9190install : clean # # install the package to the active Python's site-packages
92- python setup.py develop
91+ pip install -e .
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change 1+ [metadata]
2+ name = bmi-heat
3+ version = 2.1.2.dev0
4+ description = BMI Python example
5+ long_description = file: README.rst
6+ long_description_content_type = text/x-rst
7+ author = Eric Hutton
8+ author_email = eric.hutton@colorado.edu
9+ license = MIT
10+ license_files = LICENSE
11+ classifiers =
12+ Intended Audience :: Science/Research
13+ License :: OSI Approved :: MIT License
14+ Operating System :: OS Independent
15+ Programming Language :: Python :: 3
16+ Programming Language :: Python :: 3.6
17+ Programming Language :: Python :: 3.7
18+ Programming Language :: Python :: 3.8
19+ Programming Language :: Python :: Implementation :: CPython
20+ Topic :: Scientific/Engineering :: Physics
21+ url = https://github.com/csdms/bmi-example-python
22+
23+ [options]
24+ packages = find:
25+ install_requires =
26+ bmipy
27+ numpy
28+ pyyaml
29+ scipy
30+
131[tool:pytest]
232minversion = 3.0
333testpaths = heat tests
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments