Make API server deps optional, move them to extras

This makes it so "pip install ara" would only install a minimal
amount of dependencies (pbr and requests as of this commit) required
for running the Ansible callback plugin as well as ara_record.

The server dependencies can be installed by running
"pip install ara[server]".

Fixes: https://github.com/ansible-community/ara/issues/36
Change-Id: I67769d28ec24cade7753230dffd0b049358af29a
This commit is contained in:
David Moreau Simard
2019-05-03 09:55:09 -04:00
parent 9ff1630b04
commit 6d00938099
11 changed files with 101 additions and 25 deletions

View File

@@ -1,9 +1,3 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
Django>=2.1.5
djangorestframework>=3.9.1
django-cors-headers
django-filter
dynaconf[yaml]
requests>=2.14.2
whitenoise