mirror of https://github.com/nucypher/nucypher.git
Include optional prometheus installation with pip install nucypher[ursula] and inclusion in Dockerfile
parent
acedfd52c5
commit
7962c47f56
|
@ -7,6 +7,6 @@ RUN apt install gcc libffi-dev wget -y
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
COPY . /code
|
COPY . /code
|
||||||
|
|
||||||
RUN pip3 install . -r requirements.txt
|
RUN pip3 install .[ursula]
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -115,7 +115,10 @@ DEPLOY_REQUIRES = [
|
||||||
'twine'
|
'twine'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
URSULA_REQUIRES = ['prometheus_client']
|
||||||
|
|
||||||
EXTRAS = {
|
EXTRAS = {
|
||||||
|
'ursula': URSULA_REQUIRES,
|
||||||
'docs': DOCS_REQUIRE,
|
'docs': DOCS_REQUIRE,
|
||||||
'dev': DEV_REQUIRES + DOCS_REQUIRE,
|
'dev': DEV_REQUIRES + DOCS_REQUIRE,
|
||||||
'benchmark': DEV_REQUIRES + BENCHMARK_REQUIRES
|
'benchmark': DEV_REQUIRES + BENCHMARK_REQUIRES
|
||||||
|
|
Loading…
Reference in New Issue