From 6ebf7c56a7239bf7d2ec45641f02b4cca64a6b1e Mon Sep 17 00:00:00 2001 From: Alejandro Diaz Date: Mon, 11 Sep 2023 03:53:45 -0600 Subject: [PATCH] add setup.py to ui --- ui/default.nix | 2 -- ui/setup.py | 13 +++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 ui/setup.py diff --git a/ui/default.nix b/ui/default.nix index 372b792..6797106 100644 --- a/ui/default.nix +++ b/ui/default.nix @@ -5,7 +5,5 @@ buildPythonPackage { src = ./.; - format = "other"; - propagatedBuildInputs = [ django_4 ]; } diff --git a/ui/setup.py b/ui/setup.py new file mode 100644 index 0000000..f5e7843 --- /dev/null +++ b/ui/setup.py @@ -0,0 +1,13 @@ +from distutils.core import setup +from glob import glob + +setup(name='homemanager', + version='1.0', + description='HomeManager GUI', + author='Alejandro Diaz', + author_email='al.diaz@estudiantec.cr', + packages=['homemanager', 'main'], + data_files = [ + ('templates', glob('templates/**/*', recursive=True)) + ] +) \ No newline at end of file