diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3424c11 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM python:3.10 +COPY . /tmp/package +RUN pip install --no-cache-dir /tmp/package && \ + rm -r /tmp/package +ENTRYPOINT ["dealwatch"] \ No newline at end of file diff --git a/dealwatch/__init__.py b/dealwatch/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/dealwatch/main.py b/dealwatch/main.py new file mode 100644 index 0000000..59cb9cd --- /dev/null +++ b/dealwatch/main.py @@ -0,0 +1,5 @@ +def main(): + print("Hello world") + +if __name__ == '__main__': + main() \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..890f926 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,19 @@ +[metadata] +name = dealwatch +author = badjware +author_email = marchambault.badjware.dev +platform = any + +[options] +python_requires = >= 3.10.0 +setup_requires = + setuptools + setuptools_scm +install_requires= + prometheus-client~=0.15.0 + +[options.entry_points] +console_scripts = + dealwatch = dealwatch.main:main + +[tool.setuptools_scm] \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ec1a7fe --- /dev/null +++ b/setup.py @@ -0,0 +1,7 @@ +from setuptools import setup +from setuptools import find_packages + +setup( + use_scm_version=True, + packages=find_packages(), +)