-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
461: move to pyproject.toml for build
- Loading branch information
1 parent
a168ff7
commit c3e0a45
Showing
3 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from distutils.util import convert_path | ||
|
||
main_ns = {} | ||
version_path = convert_path('docs/version') | ||
with open(version_path) as version_file: | ||
exec(version_file.read(), main_ns) | ||
__version__ = main_ns['__version__'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "metplotpy" | ||
dynamic = ["version"] | ||
description = "plotting package for METplus" | ||
authors = [ | ||
{name = "METplus", email = "[email protected]"}, | ||
] | ||
dependencies = [] | ||
requires-python = ">=3.10.4" | ||
readme = "README.md" | ||
license = {text = "MIT"} | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/dtcenter/METplotpy" | ||
|
||
[tool.setuptools] | ||
packages = ["metplotpy"] | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["test"] | ||
|
||
[tool.coverage.run] | ||
source = ["metplotpy"] |