Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old Package at PyPI #12

Open
rafaelcapucho opened this issue Aug 5, 2017 · 2 comments
Open

Old Package at PyPI #12

rafaelcapucho opened this issue Aug 5, 2017 · 2 comments

Comments

@rafaelcapucho
Copy link

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant