1
0
Fork 0

project setup

This commit is contained in:
Massaki Archambault 2022-10-29 14:36:37 -04:00
parent 2705b73ad7
commit 858ce77d82
5 changed files with 36 additions and 0 deletions

5
Dockerfile Normal file
View File

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

0
dealwatch/__init__.py Normal file
View File

5
dealwatch/main.py Normal file
View File

@ -0,0 +1,5 @@
def main():
print("Hello world")
if __name__ == '__main__':
main()

19
setup.cfg Normal file
View File

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

7
setup.py Normal file
View File

@ -0,0 +1,7 @@
from setuptools import setup
from setuptools import find_packages
setup(
use_scm_version=True,
packages=find_packages(),
)