From cfe249addb0c851adb317ab5c90a942159a0c8d5 Mon Sep 17 00:00:00 2001 From: Freddy Heppell Date: Thu, 11 Jul 2024 15:24:22 +0100 Subject: [PATCH] Feature/packaging meta (#27) * add classifiers * update license docs to match new path --- NOTICE | 2 +- docs/license.md | 2 +- pyproject.toml | 19 ++++++++++++++----- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/NOTICE b/NOTICE index ef1aaa2..8140c4b 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ WordPress Site Extractor Copyright 2022-2024 The University of Sheffield -Portions of this code are derived from WPJsonScraper, which is available under the MIT license. For details, see src/extractor/dl/LICENSE. \ No newline at end of file +Portions of this code are derived from WPJsonScraper, which is available under the MIT license. For details, see src/wpextract/download/LICENSE. \ No newline at end of file diff --git a/docs/license.md b/docs/license.md index dc69c1a..fb41821 100644 --- a/docs/license.md +++ b/docs/license.md @@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -Portions of this code are derived from [WPJsonScraper](https://github.com/MickaelWalter/wp-json-scraper), which is available under the MIT license. For details, see [src/extractor/dl/ORIGINAL_LICENSE](https://github.com/GateNLP/wordpress-site-extractor/blob/main/src/extractor/dl/ORIGINAL_LICENSE). +Portions of this code are derived from [WPJsonScraper](https://github.com/MickaelWalter/wp-json-scraper), which is available under the MIT license. For details, see [src/wpextract/download/ORIGINAL_LICENSE](https://github.com/GateNLP/wordpress-site-extractor/blob/main/src/wpextract/dl/ORIGINAL_LICENSE). ## Acknowledgements diff --git a/pyproject.toml b/pyproject.toml index 131a367..617652f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,15 +1,24 @@ [tool.poetry] name="wpextract" version="1.0.0rc1" -description="Create a dataset from the WordPress API" -authors=["Freddy Heppell "] -packages=[ - { include = "wpextract", from = "src"} -] +description="Create datasets from WordPress sites" homepage="https://gatenlp.github.io/wordpress-site-extractor/" +documentation="https://gatenlp.github.io/wordpress-site-extractor/" repository="https://github.com/GateNLP/wordpress-site-extractor" license="Apache-2.0" readme = "README.md" +authors=["Freddy Heppell "] +classifiers = [ + "Development Status :: 5 - Production/Stablec", + "Environment :: Console", + "Intended Audience :: Science/Research", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Topic :: Software Development :: Libraries :: Python Modules" +] +packages=[ + { include = "wpextract", from = "src"} +] [tool.poetry.scripts] wpextract = "wpextract.cli:cli"