This commit is contained in:
Antonio J. Delgado 2024-01-29 15:17:30 +02:00
parent 2e1334ff99
commit 918224d5f4
5 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python3 setup.py /usr/src/app/install
RUN pip install .
# CMD [ "python", "./your-daemon-or-script.py" ]
CMD [ "sh" ]

View file

@ -1,9 +1,9 @@
[metadata]
name = discover-mastodon-servers
name = discover_mastodon_servers
version = 0.0.1
[options]
packages = discover-mastodon-servers
packages = discover_mastodon_servers
install_requires =
requests
importlib; python_version == "3.10"

View file

@ -9,7 +9,7 @@ config = configparser.ConfigParser()
config.read('setup.cfg')
setuptools.setup(
scripts=['discover-mastodon-servers/discover-mastodon-servers.py'],
scripts=['discover_mastodon_servers/discover_mastodon_servers.py'],
author="Antonio J. Delgado",
version=config['metadata']['version'],
name=config['metadata']['name'],