Skip to content

Commit

Permalink
modify setup to match echopype
Browse files Browse the repository at this point in the history
  • Loading branch information
ctuguinay committed Oct 2, 2023
1 parent b3aa114 commit 93ea061
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 14 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
fallback_version = "unknown"
local_scheme = "node-and-date"
write_to = "_echoregions_version.py"
write_to_template = 'version = "{version}" # noqa'

[tool.black]
line-length = 100

[tool.isort]
known_first_party = "echoregions"
known_third_party = ["_echoregions_version", "setuptools"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 100
line_length = 100
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pre-commit
pytest
xarray>=2023.2.0
pytest-cov
setuptools_scm
50 changes: 37 additions & 13 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,15 +1,39 @@
[black]
line-length = 100
[metadata]
name = echoregions
maintainer = Caesar Tuguinay
maintainer_email = [email protected]
description = Parsers and functions for working with EVR and EVL files
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/OSOceanAcoustics/echoregions
license = Apache License, Version 2.0
classifiers =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Science/Research
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering
author = Caesar Tuguinay
author_email = [email protected]
platforms = OS Independent

[flake8]
max-line-length = 100
output-file = flake8_log.txt
tee = True
ignore = E722,E203,W503,T001
[options]
packages = find:
platforms = any
py_modules =
_echoregions_version
include_package_data = True
python_requires = >=3.9
setup_requires =
setuptools_scm

[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
line_length = 100
[options.extras_require]
plot =
matplotlib>=3.7
cmocean

0 comments on commit 93ea061

Please sign in to comment.