Skip to content
Snippets Groups Projects
Commit ea8df530 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

move requirements to pyproject.toml

parent f302248f
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,7 @@ commands:
steps:
- run:
command: |
pip install -r requirements.txt
pip install -U pytest-xdist pytest-cov pytest pytest-forked pluggy py
pip install .
pip install -e .[dev,test,extras]
unit_test:
description: Run the unit tests
steps:
......
......@@ -47,6 +47,12 @@ is available for the brave souls that do decide to use this library.
See [LICENSE](LICENSE) for text of the license. This library may contain code taken from elsewhere on the internets, so
this is copyright (c) respective authors.
If you want to install extra modules, just run
```bash
pip install satella[extras]
```
Running unit tests
------------------
......
......@@ -29,12 +29,10 @@ dependencies = ["psutil"]
version = {attr = "satella.__version__"}
[project.optional-dependencies]
HTTPJSONSource = ["requests"]
YAMLSource = ["pyyaml"]
TOMLSource = ["toml"]
FasterJSON = ["ujson"]
cassandra = ["cassandra-driver"]
opentracing = ["opentracing"]
dev = ["pylint", "pyyaml", "toml", "requests", "opentracing"]
test = ["pytest-cov", "pytest-xdist", "pytest", "pytest-forked", "pluggy", "py"]
extras = ["requests","pyyaml","toml", "ujson", "cassandra-driver", "opentracing"]
[build-system]
requires = ["setuptools", "setuptools-scm"]
......
__version__ = '2.24.3a1'
__version__ = '2.24.3a2'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment