Skip to content

Commit

Permalink
fix pyproject usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-markin committed Dec 16, 2024
1 parent fae0657 commit 6bcd21f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
include README.md
include LICENSE
include requirements.txt
include LICENSE
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6bcd21f

Please sign in to comment.