docs: update project description emojis
- Change project description emojis from 🔥🕷️ to 🚀🤖 - Update emojis consistently in both setup.py and pyproject.toml
This commit is contained in:
32
pyproject.toml
Normal file
32
pyproject.toml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=64.0.0", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "Crawl4AI"
|
||||||
|
dynamic = ["version"]
|
||||||
|
description = "🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & scraper"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.9"
|
||||||
|
license = {text = "MIT"}
|
||||||
|
authors = [
|
||||||
|
{name = "Unclecode", email = "unclecode@kidocode.com"}
|
||||||
|
]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: Apache Software License",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
packages = ["crawl4ai"]
|
||||||
|
package-data = {"crawl4ai" = ["js_snippet/*.js"]}
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic]
|
||||||
|
version = {attr = "crawl4ai.__version__.__version__"}
|
||||||
25
setup.py
25
setup.py
@@ -31,13 +31,17 @@ for folder in content_folders:
|
|||||||
# Read requirements and version
|
# Read requirements and version
|
||||||
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
|
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
|
||||||
with open(os.path.join(__location__, "requirements.txt")) as f:
|
with open(os.path.join(__location__, "requirements.txt")) as f:
|
||||||
requirements = f.read().splitlines()
|
requirements = [line for line in f.read().splitlines() if line and not line.startswith('#')]
|
||||||
|
|
||||||
with open("crawl4ai/__version__.py") as f:
|
version = "0.0.0" # This will be overridden by pyproject.toml's dynamic version
|
||||||
for line in f:
|
try:
|
||||||
if line.startswith("__version__"):
|
with open("crawl4ai/__version__.py") as f:
|
||||||
version = line.split("=")[1].strip().strip('"')
|
for line in f:
|
||||||
break
|
if line.startswith("__version__"):
|
||||||
|
version = line.split("=")[1].strip().strip('"')
|
||||||
|
break
|
||||||
|
except Exception:
|
||||||
|
pass # Let pyproject.toml handle version
|
||||||
|
|
||||||
# Define requirements
|
# Define requirements
|
||||||
default_requirements = requirements
|
default_requirements = requirements
|
||||||
@@ -49,7 +53,7 @@ sync_requirements = ["selenium"]
|
|||||||
setup(
|
setup(
|
||||||
name="Crawl4AI",
|
name="Crawl4AI",
|
||||||
version=version,
|
version=version,
|
||||||
description="🔥🕷️ Crawl4AI: Open-source LLM Friendly Web Crawler & scraper",
|
description="🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & scraper",
|
||||||
long_description=open("README.md", encoding="utf-8").read(),
|
long_description=open("README.md", encoding="utf-8").read(),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/unclecode/crawl4ai",
|
url="https://github.com/unclecode/crawl4ai",
|
||||||
@@ -86,10 +90,11 @@ setup(
|
|||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"License :: OSI Approved :: Apache Software License",
|
"License :: OSI Approved :: Apache Software License",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.7",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
],
|
],
|
||||||
python_requires=">=3.7",
|
python_requires=">=3.9",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user