Skip to content

Commit 4f3111e

Browse files
committed
Update README to include new instructions for installing dependencies
1 parent c373890 commit 4f3111e

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

README.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,6 @@ You can install using pip:
147147
pip install .
148148
```
149149

150-
Or install the plugin dependencies manually:
151-
152-
```
153-
pip install -r requirements/main.txt
154-
```
155-
156150
## <a name="configuration"></a>Configuration
157151

158152
### <a name="conftest-setup"></a>Conftest setup
@@ -421,19 +415,14 @@ def test_transaction_doesnt_persist(db_engine):
421415

422416
## <a name="running-the-tests"></a>Running the tests
423417

424-
Start by ensuring that all test requirements are installed:
425-
426-
```
427-
pip install -U -r requirements/main.txt -r requirements/tests.txt
428-
```
429-
430-
Next, install a development version of the plugin:
418+
To run the tests, start by installing a development version of the plugin that
419+
includes test dependencies:
431420

432421
```
433-
pip install -e .
422+
pip install -e .[tests]
434423
```
435424

436-
Export a [database connection string](http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls)
425+
Next, export a [database connection string](http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls)
437426
that the tests can use (the database referenced by the string will be created
438427
during test setup, so it does not need to exist):
439428

0 commit comments

Comments
 (0)