Skip to content

Commit

Permalink
Remove requirement files
Browse files Browse the repository at this point in the history
Signed-off-by: hoangtungdinh <11166240+hoangtungdinh@users.noreply.github.com>
  • Loading branch information
hoangtungdinh committed Aug 22, 2024
1 parent 7776c72 commit 36a107e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 41 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: pip install -r requirements.txt -r requirements-tests.txt
- run: python -m pytest -vv
- run: pip install poetry==1.8.3
- run: poetry install --with dev
- run: poetry run pytest -vv
37 changes: 2 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@ This project implements the [ASAM OpenScenario XML Checker](checker_bundle_doc.m
- [Installation and usage](#installation-and-usage)
- [Installation using pip](#installation-using-pip)
- [Installation from source](#installation-from-source)
- [Default Python](#default-python)
- [Poetry](#poetry)
- [Example output](#example-output)
- [Register Checker Bundle to ASAM Quality Checker Framework](#register-checker-bundle-to-asam-quality-checker-framework)
- [Linux Manifest Template](#linux-manifest-template)
- [Tests](#tests)
- [Install using pip](#install-using-pip)
- [Install using poetry](#install-using-poetry)
- [Execute tests](#execute-tests)
- [Contributing](#contributing)


Expand Down Expand Up @@ -55,20 +50,7 @@ python -m qc_openscenario.main --help

### Installation from source

After cloning the repository, there are two options to install from source.

1. Default Python on the machine
2. [Poetry](https://python-poetry.org/)

#### Default Python

```bash
pip install -r requirements.txt
```

This will install the needed dependencies to your local Python.

#### Poetry
After cloning the repository, install the project using [Poetry](https://python-poetry.org/).

```bash
poetry install
Expand Down Expand Up @@ -123,20 +105,11 @@ To register this Checker Bundle in Linux, use the [linux_manifest.json](manifest

To run the tests, you need to install the extra test dependency after installing from source.

### Install using pip

```bash
pip install -r requirements-tests.txt
```

### Install using poetry

```bash
poetry install --with dev
```

### Execute tests

To execute tests

```bash
python -m pytest -vv
Expand All @@ -162,12 +135,6 @@ You can check more options for pytest at its [own documentation](https://docs.py
For contributing, you need to install the development requirements besides the
test and installation requirements, for that run:

```bash
pip install -r requirements-dev.txt
```

or

```bash
poetry install --with dev
```
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements-tests.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

0 comments on commit 36a107e

Please sign in to comment.