Refactor project structure and dependencies

- Update pyproject.toml with more flexible Python version support and updated dependencies
- Revise README to provide clearer project overview and usage instructions
- Enhance configuration and generation scripts with improved path handling and environment validation
- Add support for regenerating all libraries and debug mode
- Improve error handling and logging
- Streamline project setup and deployment processes
This commit is contained in:
sanjeed5
2025-02-28 19:21:15 +05:30
parent be7f16ec3d
commit 499aec50a5
5 changed files with 1636 additions and 322 deletions
+23 -13
View File
@@ -1,16 +1,26 @@
[project]
name = "cursor-rules-mdc"
name = "mdc-rules-generator"
version = "0.1.0"
description = "Convert Cursor rules to MDC rules"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"exa-py>=1.8.9",
"litellm>=1.61.17",
"pydantic>=2.10.6",
"python-dotenv>=1.0.1",
"ratelimit>=2.2.1",
"requests>=2.32.3",
"tenacity>=9.0.0",
"typing-extensions>=4.12.2",
description = "Generate Cursor MDC rule files from a structured JSON file"
authors = [
{name = "Sanjeed", email = "hi@sanjeed.in"},
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}
dependencies = [
"python-dotenv>=1.0.0",
"litellm>=1.0.0",
"tenacity>=8.2.3",
"ratelimit>=2.2.1",
"pydantic>=2.0.0",
"exa-py>=1.0.0",
"pyyaml>=6.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]