From 2dca5338ecec2042f731ff2855225417f66e1372 Mon Sep 17 00:00:00 2001 From: timotheyca Date: Sun, 19 Dec 2021 20:07:26 +0300 Subject: [PATCH] remove requirements.txt --- Dockerfile | 6 +++--- requirements.txt | 4 ---- setup.py | 12 ++++++------ 3 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile index bf88802..37e6656 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV v6host=0.0.0.0 EXPOSE 5910 ENV v6port=5910 ENV v6root=/v6data -COPY requirements.txt requirements.txt -RUN pip install -r requirements.txt -COPY v6d1tokens v6d1tokens +COPY v6d1tokens dist/v6d1tokens +COPY setup.py dist/setup.py +RUN pip install -e dist/. CMD ["python3", "-m", "v6d1tokens.run-server"] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index a5f7357..0000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -aiohttp -PyNaCl~=1.4.0 -ptvp35 @ git+https://gitea.ongoteam.net/PTV/ptvp35.git@25727aabd7afd69f66051c806190480302e67260 -v6d0auth @ git+https://gitea.ongoteam.net/PTV/v6d0auth.git@7f910ba91be2564a9f78bcfa39759698f3ebf85f diff --git a/setup.py b/setup.py index 9b55c44..a6ac09b 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,5 @@ -from pathlib import Path - from setuptools import setup -with open(Path(__file__) / '../requirements.txt') as f: - install_requires = f.read().strip().split('\n') - setup( name='v6d1tokens', version='', @@ -14,5 +9,10 @@ setup( author='PARRRATE T&V', author_email='', description='', - install_requires=install_requires + install_requires=[ + 'aiohttp', + 'PyNaCl~=1.4.0', + 'ptvp35 @ git+https://gitea.ongoteam.net/PTV/ptvp35.git@25727aabd7afd69f66051c806190480302e67260', + 'v6d0auth @ git+https://gitea.ongoteam.net/PTV/v6d0auth.git@20a8c7a4f67d193e193f3862f1019976343ad711' + ] )