Skip to content

Commit

Permalink
Small fix (#30)
Browse files Browse the repository at this point in the history
* Fix to ffi.h not found

* Version bump

Fix LXML Build Issues and FFMpeg DNS issues

Zlib not found

Forgot to update version 👽

Downgrade Python Version to 3.9

Never knew that python 3.10 got released

😠

Revert back to old version

Update setup.py
  • Loading branch information
iamLiquidX authored and nenokkadine committed Oct 13, 2021
1 parent ea18773 commit 01494b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
twine upload dist/* || exit 0
- name: Upload all the data files to github Release
uses: softprops/action-gh-release@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:slim
FROM python:3.9-slim

WORKDIR /
# Deps
Expand All @@ -9,12 +9,12 @@ RUN if [ "$(uname -m)" = "aarch64" ] ; then \
fi && \
sed -i 's/main/main non-free/g' /etc/apt/sources.list && \
apt-get -qq update && \
apt-get -qq install -y tzdata curl aria2 p7zip-full p7zip-rar wget xz-utils libmagic-dev gcc && \
apt-get -qq install -y tzdata curl aria2 p7zip-full p7zip-rar wget xz-utils libmagic-dev gcc libffi-dev nscd && \
apt-get -y autoremove && rm -rf /var/lib/apt/lists/* && apt-get clean && \
wget -q https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${HOST_CPU_ARCH}-static.tar.xz && \
wget -q https://github.com/yzop/gg/raw/main/ffmpeg-git-${HOST_CPU_ARCH}-static.tar.xz && \
tar -xf ff*.tar.xz && rm -rf *.tar.xz && \
mv ff*/ff* /usr/local/bin/ && rm -rf ff* && \
wget -q https://github.com/viswanathbalusu/megasdkrest/releases/download/v0.1.1/megasdkrest-${HOST_CPU_ARCH} -O /usr/local/bin/megasdkrest && \
wget -q https://github.com/viswanathbalusu/megasdkrest/releases/latest/download/megasdkrest-${HOST_CPU_ARCH} -O /usr/local/bin/megasdkrest && \
chmod a+x /usr/local/bin/megasdkrest && mkdir /app/ && chmod 777 /app/ && \
pip3 install --no-cache-dir MirrorX && \
apt-get purge -yqq gcc && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* && apt-get clean
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='MirrorX',
version='6.0.6',
version='6.0.13',
packages=find_packages(),
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 01494b7

Please sign in to comment.