bitfinex-py
bitfinex-py copied to clipboard
Old Package at PyPI
Hello, the package available at PyPI is kinda of old.
Because the module bitfinex/client.py
there doesn't have the class TradeClient
yet.
Thanks.
Sorry, I just see that there is already an issue regarding this[1], with more than 1 yr old hehe. Thx.
[1] - https://github.com/scottjbarr/bitfinex/issues/6
I did a hackish workaround, might help someone:
FROM python:3.6.1-slim
MAINTAINER Rafael Capucho "[email protected]"
WORKDIR /usr/src/app
EXPOSE 5000
COPY . .
# Install build dependencies and python production package requirements
RUN set -ex && \
buildDeps=' \
gcc \
make \
wget \
' && \
apt-get update -qq && \
apt-get install -y $buildDeps --no-install-recommends && \
pip install --no-cache-dir -r requirements.txt && \
wget https://github.com/scottjbarr/bitfinex/archive/develop.zip -O /tmp/bitfinex.zip && \
pip install --no-cache-dir /tmp/bitfinex.zip && \
apt-get purge -y --auto-remove $buildDeps && \
rm /tmp/bitfinex.zip
CMD [ "python", "main.py" ]