fix pyproject usage

This commit is contained in:
Kirill Markin 2024-12-16 10:38:09 +01:00
parent fae0657b04
commit 6bcd21f40f
No known key found for this signature in database
GPG key ID: 03AB9530E15B9C1C
3 changed files with 21 additions and 11 deletions

View file

@ -27,8 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
pip install .[dev]
- name: Run tests
run: |
pytest tests/

View file

@ -1,3 +1,2 @@
include README.md
include LICENSE
include requirements.txt

View file

@ -177,19 +177,31 @@ To install `repo-to-text` locally for development, follow these steps:
cd repo-to-text
```
2. Install the package locally:
2. Install the package with development dependencies:
```bash
pip install -e .
pip install -e .[dev]
```
### Installing Dependencies
### Requirements
To install all the required dependencies, run the following command:
- Python >= 3.6
- Core dependencies:
- setuptools >= 70.0.0
- pathspec >= 0.12.1
- argparse >= 1.4.0
- PyYAML >= 6.0.1
```bash
pip install -r requirements.txt
```
### Development Dependencies
For development, additional packages are required:
- pytest >= 8.2.2
- black
- mypy
- isort
- build
- twine
### Running Tests