Skip to content

Commit

Permalink
Fix dependencies errors (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
avara1986 committed Mar 8, 2020
1 parent 2778bb6 commit ccfeb4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
4 changes: 0 additions & 4 deletions docs/encrypt_decryt_configuration.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Encrypt Configuration

## Installation

You must install `pyms` with `pip install pyms[all]` or `pip install pyms[cryptography]`

## Configuration

When you work in multiple environments: local, dev, testing, production... you must set critical configuration in your
Expand Down
4 changes: 0 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,5 @@ pip install pyms[metrics]
```
pip install pyms[trace]
```
* Installing cryptography dependencies
```
pip install pyms[cryptography]
```

See [Quickstart](quickstart.md) to continue with this tutorial
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'python-json-logger>=0.1.10',
'pyyaml>=5.1.2',
'anyconfig>=0.9.8',
'cryptography>=2.8',
]

install_request_requires = [
Expand All @@ -38,10 +39,6 @@
'opentracing-instrumentation>=3.2.1',
]

install_cryptography_requires = [
'cryptography>=2.8',
]

install_metrics_requires = [
'prometheus_client>=0.7.1',
]
Expand All @@ -61,8 +58,7 @@
]

install_all_requires = (install_request_requires + install_swagger_requires +
install_traces_requires + install_cryptography_requires +
install_metrics_requires)
install_traces_requires + install_metrics_requires)

setup(
name="py-ms",
Expand Down Expand Up @@ -95,7 +91,6 @@
'all': install_all_requires,
'request': install_request_requires,
'swagger': install_swagger_requires,
'cryptography': install_cryptography_requires,
'traces': install_traces_requires,
'metrics': install_metrics_requires,
'tests': install_tests_requires,
Expand Down

0 comments on commit ccfeb4d

Please sign in to comment.