poetry still doesn't support no-deps

master
JoYo 2021-12-14 15:25:21 -05:00
parent 9b61c1b3c7
commit 1884f8df7b
2 changed files with 13 additions and 1 deletions

View File

@ -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 .

12
setup.py Normal file
View File

@ -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"],
)