From 1884f8df7b149890fa674d980c02564e5009d356 Mon Sep 17 00:00:00 2001 From: JoYo <> Date: Tue, 14 Dec 2021 15:25:21 -0500 Subject: [PATCH] poetry still doesn't support no-deps --- Dockerfile | 2 +- setup.py | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 setup.py diff --git a/Dockerfile b/Dockerfile index a6e2384..9916642 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ RUN apt-get update && apt-get install -y \ && apt-get clean COPY ./banana/ /app/banana/ -COPY pyproject.toml /app/ +COPY setup.py /app/ WORKDIR /app/ RUN pip3 install --no-deps . diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a29ae0a --- /dev/null +++ b/setup.py @@ -0,0 +1,12 @@ +from setuptools import setup + +setup( + name="eso-banana", + version="0.0.1", + packages=["banana"], + entry_points={ + "console_scripts": ["eso-banana-script = banana:scripts.periodical_script"], + }, + python_requires=">3", + install_requires=["requests", "PyYAML"], +)