diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d077d97..6f37f09 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ Thank you for your interest in contributing to the OWASP AIBOM Generator! This p ```bash # Local Python setup - pip install -r requirements.txt + pip install .[dev] ``` ## Development Workflow @@ -127,7 +127,7 @@ aibom-generator/ │ ├── schemas/ # JSON schemas (CycloneDX, SPDX) │ └── templates/ # HTML templates ├── tests/ # Unit and integration tests -└── requirements.txt +└── pyproject.toml ``` ### Key Concepts @@ -141,7 +141,7 @@ aibom-generator/ ```bash # Install test dependencies -pip install -r requirements.txt +pip install .[dev] # Run all tests pytest @@ -158,7 +158,7 @@ pytest tests/test_validation.py -v ### Local Development (Recommended) ```bash -pip install -r requirements.txt +pip install .[dev] # Run API server python -m uvicorn src.main:app --reload --port 7860 diff --git a/README.md b/README.md index f0cf12e..901c5fe 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ The tool is also listed in the official **[CycloneDX Tool Center](https://cyclon ### 1. Install Dependencies ```bash -pip install -r requirements.txt +pip install . ``` ### 2. Run Web Application diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index bf42baa..0000000 --- a/requirements.txt +++ /dev/null @@ -1,26 +0,0 @@ -huggingface_hub>=0.19.0 -transformers>=4.36.0 -torch>=2.0.0 -fastapi>=0.104.0 -uvicorn>=0.24.0 -pydantic>=2.4.0 -requests>=2.31.0 -python-dotenv>=1.0.0 -PyYAML>=6.0.1 -flask>=2.3.0 -gunicorn>=21.2.0 -cyclonedx-python-lib>=4.0.0 -python-multipart -jinja2>=3.0.0 -datasets>=2.0.0 -beautifulsoup4>=4.11.0 -nltk>=3.8.0 -python-dateutil>=2.8.0 -jsonschema>=4.17.0 -sentencepiece>=0.1.99 -packageurl-python>=0.11.1 - -# Test dependencies -pytest>=7.0.0 -pytest-mock>=3.10.0 -pytest-cov>=4.0.0 \ No newline at end of file