From 807afe2d51d7ee858ac63e004e3466c1951f3ac7 Mon Sep 17 00:00:00 2001 From: Jason Regina Date: Wed, 26 May 2021 09:50:33 -0500 Subject: [PATCH 1/2] add required files --- python/events/CONTRIBUTING.md | 1 + python/events/LICENSE | 1 + python/events/MANIFEST.in | 4 ++++ python/events/SECURITY.md | 1 + python/events/TERMS.md | 1 + 5 files changed, 8 insertions(+) create mode 120000 python/events/CONTRIBUTING.md create mode 120000 python/events/LICENSE create mode 100644 python/events/MANIFEST.in create mode 120000 python/events/SECURITY.md create mode 120000 python/events/TERMS.md diff --git a/python/events/CONTRIBUTING.md b/python/events/CONTRIBUTING.md new file mode 120000 index 00000000..f939e75f --- /dev/null +++ b/python/events/CONTRIBUTING.md @@ -0,0 +1 @@ +../../CONTRIBUTING.md \ No newline at end of file diff --git a/python/events/LICENSE b/python/events/LICENSE new file mode 120000 index 00000000..30cff740 --- /dev/null +++ b/python/events/LICENSE @@ -0,0 +1 @@ +../../LICENSE \ No newline at end of file diff --git a/python/events/MANIFEST.in b/python/events/MANIFEST.in new file mode 100644 index 00000000..335cc192 --- /dev/null +++ b/python/events/MANIFEST.in @@ -0,0 +1,4 @@ +include LICENSE +include CONTRIBUTING.md +include SECURITY.md +include TERMS.md diff --git a/python/events/SECURITY.md b/python/events/SECURITY.md new file mode 120000 index 00000000..42cce94f --- /dev/null +++ b/python/events/SECURITY.md @@ -0,0 +1 @@ +../../SECURITY.md \ No newline at end of file diff --git a/python/events/TERMS.md b/python/events/TERMS.md new file mode 120000 index 00000000..873e35b9 --- /dev/null +++ b/python/events/TERMS.md @@ -0,0 +1 @@ +../../TERMS.md \ No newline at end of file From 2a9b3d7ecc60b4fd70de19ec05fc33dece5db8b7 Mon Sep 17 00:00:00 2001 From: Jason Regina Date: Wed, 26 May 2021 09:50:59 -0500 Subject: [PATCH 2/2] update version add long description and classifiers --- python/events/setup.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/python/events/setup.py b/python/events/setup.py index 0ebe14bd..9fb86246 100644 --- a/python/events/setup.py +++ b/python/events/setup.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 from setuptools import setup, find_namespace_packages +from pathlib import Path # python namespace subpackage # this namespace package follows PEP420 @@ -13,7 +14,7 @@ SUBPACKAGE_SLUG = f"{NAMESPACE_PACKAGE_NAME}.{SUBPACKAGE_NAME}" # Subpackage version -VERSION = "1.0.0-alpha.0" +VERSION = "1.0.1" # Package author information AUTHOR = "Jason Regina" @@ -22,6 +23,10 @@ # Short sub-package description DESCRIPTION = "Various methods to support event-based evaluations." +# Long description +with (Path(__file__).parent / "README.md").open('r') as f: + LONG_DESCRIPTION = f.read() + # Package dependency requirements REQUIREMENTS = [ "pandas", @@ -33,11 +38,19 @@ author=AUTHOR, author_email=AUTHOR_EMAIL, classifiers=[ - "", + "Development Status :: 3 - Alpha", + "Intended Audience :: Education", + "Intended Audience :: Science/Research", + "License :: Free To Use But Restricted", + "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering :: Hydrology" ], description=DESCRIPTION, + long_description=LONG_DESCRIPTION, + long_description_content_type='text/markdown', + url="https://www.github.com/NOAA-OWP/hydrotools", + license="USDOC", namespace_packages=[NAMESPACE_PACKAGE_NAME], packages=find_namespace_packages(include=[f"{NAMESPACE_PACKAGE_NAME}.*"]), - package_data={}, install_requires=REQUIREMENTS, )