From 2e1334ff990b1ff43cbc87504e3004a39edaf651 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 29 Jan 2024 15:12:23 +0200 Subject: [PATCH] Add email --- Dockerfile | 3 +-- pyproject.toml | 6 +++--- setup.py | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index ffb3fdb..6b45d6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,8 @@ WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt -RUN pip install --no-cache-dir /usr/src/app/ - COPY . . +RUN python3 setup.py /usr/src/app/install # CMD [ "python", "./your-daemon-or-script.py" ] CMD [ "sh" ] diff --git a/pyproject.toml b/pyproject.toml index fbbbe55..0e470af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,14 +3,14 @@ requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [project.urls] -Homepage = "" +Homepage = "ssh://git@repos.susurrando.com:7272/srv/git.repos/discover-mastodon-servers.git" [project] name = "discover-mastodon-servers" version = "0.0.1" description = "Discover Mastodon servers by looking at public timelines" readme = "README.md" -authors = [{ name = "Antonio J. Delgado", email = "" }] +authors = [{ name = "Antonio J. Delgado", email = "ad@susurrando.com" }] license = { file = "LICENSE" } classifiers = [ "License :: OSI Approved :: GPLv3 License", @@ -22,4 +22,4 @@ dependencies = [ "click", "click_config_file", ] -requires-python = ">=3" \ No newline at end of file +requires-python = ">=3" diff --git a/setup.py b/setup.py index 57323cd..6c2c5e7 100644 --- a/setup.py +++ b/setup.py @@ -13,8 +13,8 @@ setuptools.setup( author="Antonio J. Delgado", version=config['metadata']['version'], name=config['metadata']['name'], - author_email="", - url="", + author_email="ad@susurrando.com", + url="ssh://git@repos.susurrando.com:7272/srv/git.repos/discover-mastodon-servers.git", description="Discover Mastodon servers by looking at public timelines", long_description="README.md", long_description_content_type="text/markdown",