mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 06:53:00 +00:00
working setup.py
This commit is contained in:
parent
94d6559b74
commit
d39ee374aa
2 changed files with 7 additions and 20 deletions
24
Dockerfile
24
Dockerfile
|
@ -2,31 +2,17 @@ FROM python:3.9-alpine
|
|||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
WORKDIR "/app"
|
||||
|
||||
RUN set -ex; \
|
||||
pip3 install \
|
||||
--no-cache-dir --no-color --disable-pip-version-check --no-python-version-warning \
|
||||
pipenv \
|
||||
;
|
||||
|
||||
COPY Pipfile Pipfile.lock ./
|
||||
|
||||
RUN set -ex; \
|
||||
# install prerequisites
|
||||
apk add --no-cache \
|
||||
g++ \
|
||||
jpeg-dev \
|
||||
zlib-dev \
|
||||
; \
|
||||
# build/install local packages
|
||||
pipenv install --deploy; \
|
||||
pipenv --clear; \
|
||||
# remove build-only prerequisites
|
||||
apk del --no-cache \
|
||||
g++ \
|
||||
;
|
||||
|
||||
COPY . .
|
||||
COPY . /usr/src/fftcgtool
|
||||
|
||||
ENTRYPOINT ["pipenv", "run", "./fftcgtool.py"]
|
||||
RUN set -ex; \
|
||||
pip3 --use-feature=in-tree-build install /usr/src/fftcgtool
|
||||
|
||||
ENTRYPOINT ["fftcgtool"]
|
||||
|
|
3
setup.py
3
setup.py
|
@ -1,8 +1,9 @@
|
|||
from setuptools import setup
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name="fftcgtool",
|
||||
version="0.2",
|
||||
packages=find_packages(),
|
||||
author="LDericher",
|
||||
author_email="ldericher@gmx.de",
|
||||
setup_requires="setuptools-pipfile",
|
||||
|
|
Loading…
Reference in a new issue