bitfinex-py icon indicating copy to clipboard operation
bitfinex-py copied to clipboard

Old Package at PyPI

Open rafaelcapucho opened this issue 7 years ago • 2 comments

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.

rafaelcapucho avatar Aug 05 '17 20:08 rafaelcapucho

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

rafaelcapucho avatar Aug 05 '17 20:08 rafaelcapucho

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" ]

rafaelcapucho avatar Aug 06 '17 03:08 rafaelcapucho