From 4c9a2e6a7d8411f5da4e1e6b4989491cd68ab6e5 Mon Sep 17 00:00:00 2001 From: acostapazo Date: Fri, 26 May 2023 15:18:37 +0200 Subject: [PATCH] chore(petisco-dev): add installable app module to be able to use petisco-dev --- lume.yml | 1 + setup.py | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 setup.py diff --git a/lume.yml b/lume.yml index d07b53e..f43ba38 100644 --- a/lume.yml +++ b/lume.yml @@ -4,6 +4,7 @@ install: run: - pip install -U -r requirements/dev-requirements.txt -r requirements/requirements.txt - pre-commit install --hook-type commit-msg + - pip install -e . uninstall: run: diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0dafb33 --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +import os + +from setuptools import find_packages, setup + +CURRENT_DIR = os.path.abspath(os.path.dirname(__file__)) +PACKAGE_NAME = "app" + +# The text of the README file +with open(os.path.join(CURRENT_DIR, "README.md")) as fid: + README = fid.read() + +setup( + name=PACKAGE_NAME, + description="Application", + long_description=README, + long_description_content_type="text/markdown", + keywords=["Application"], + url="https://github.com/alice-biometrics/", + author="Alice Biometrics", + author_email="support@alicebiometrics.com", + license="MIT", + install_requires=[], + classifiers=[ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + ], + packages=find_packages(), + include_package_data=True, + zip_safe=False, +)