From f0a21f6f38a3bf582370d4abc5ae82fa9d21779e Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Mon, 14 Oct 2024 03:19:27 +0300 Subject: [PATCH] Minor fixes --- .github/workflows/publish.yml | 5 ++--- CONTRIBUTING.md | 2 +- scrapling/__init__.py | 2 +- setup.cfg | 2 +- setup.py | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 28beef2..5726857 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,8 @@ name: Publish Python 🐍 distributions 📦 to PyPI on: - push: - branches: - - main + release: + types: [created] jobs: build-n-publish: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 131846b..0eb64a1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,4 +27,4 @@ Also, consider setting `debug` to `True` while initializing the Adaptor object s - Fork Scrapling [git repository](https://github.com/D4Vinci/Scrapling). - Make your changes. - Ensure tests work. - - Create a Pull Request against the [**dev**](https://github.com/D4Vinci/Scraplin/tree/dev) branch of Scrapling. \ No newline at end of file + - Create a Pull Request against the [**dev**](https://github.com/D4Vinci/Scrapling/tree/dev) branch of Scrapling. \ No newline at end of file diff --git a/scrapling/__init__.py b/scrapling/__init__.py index b2b8535..7985ef9 100644 --- a/scrapling/__init__.py +++ b/scrapling/__init__.py @@ -3,7 +3,7 @@ from scrapling.parser import Adaptor, Adaptors from scrapling.custom_types import TextHandler, AttributesHandler __author__ = "Karim Shoair (karim.shoair@pm.me)" -__version__ = "0.1" +__version__ = "0.1.1" __copyright__ = "Copyright (c) 2024 Karim Shoair" diff --git a/setup.cfg b/setup.cfg index bea1148..aaa936c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = scrapling -version = 0.1 +version = 0.1.1 author = Karim Shoair author_email = karim.shoair@pm.me description = Scrapling is a powerful, flexible, adaptive, and high-performance web scraping library for Python. diff --git a/setup.py b/setup.py index 680d136..4b0beea 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setup( name="scrapling", - version="0.1", + version="0.1.1", description="""Scrapling is a powerful, flexible, and high-performance web scraping library for Python. It simplifies the process of extracting data from websites, even when they undergo structural changes, and offers impressive speed improvements over many popular scraping tools.""", @@ -57,7 +57,7 @@ setup( python_requires=">=3.7", url="https://github.com/D4Vinci/Scrapling", project_urls={ - "Documentation": "https://github.com/D4Vinci/Scrapling/Docs", # For now + "Documentation": "https://github.com/D4Vinci/Scrapling/tree/main/docs", # For now "Source": "https://github.com/D4Vinci/Scrapling", "Tracker": "https://github.com/D4Vinci/Scrapling/issues", }