From ddd37ebcd199606bbaef77346e7e1b8058191eaf Mon Sep 17 00:00:00 2001 From: SFE-Brudnerd <101155592+SFE-Brudnerd@users.noreply.github.com> Date: Fri, 28 Jul 2023 13:27:21 -0600 Subject: [PATCH 1/2] Added git files. Modified setup.py .gitattributes so you can avoid line ending issues. .gitignore to ignore build artifacts and python virtual environments. Removed logging from dl_fuse_id dependencies, it's included by default. --- .gitattributes | 1 + .gitignore | 4 ++++ fuse_id/setup.py | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2125666 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88a1b4e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.venv +sfeDataLoggerIoT/build/**/*.ino.* +fuse_id/dist +fuse_id/sfe_dl_fuseid.egg-info \ No newline at end of file diff --git a/fuse_id/setup.py b/fuse_id/setup.py index f09e19d..3c9ebe6 100644 --- a/fuse_id/setup.py +++ b/fuse_id/setup.py @@ -32,7 +32,8 @@ def get_version(rel_path: str) -> str: with open(path.join(here, 'DESCRIPTION.md'), encoding='utf-8') as f: long_description = f.read() -install_deps = ['esptool', 'logging', 'configobj','pycryptodome'] +#install_deps = ['esptool', 'logging', 'configobj','pycryptodome'] +install_deps = ['esptool', 'configobj','pycryptodome'] setuptools.setup( From 3cc07163c341a97e6190330aebe664e5db2c5767 Mon Sep 17 00:00:00 2001 From: SFE-Brudnerd <101155592+SFE-Brudnerd@users.noreply.github.com> Date: Fri, 28 Jul 2023 13:30:32 -0600 Subject: [PATCH 2/2] Remove commented code. --- fuse_id/setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fuse_id/setup.py b/fuse_id/setup.py index 3c9ebe6..24c5985 100644 --- a/fuse_id/setup.py +++ b/fuse_id/setup.py @@ -32,7 +32,6 @@ def get_version(rel_path: str) -> str: with open(path.join(here, 'DESCRIPTION.md'), encoding='utf-8') as f: long_description = f.read() -#install_deps = ['esptool', 'logging', 'configobj','pycryptodome'] install_deps = ['esptool', 'configobj','pycryptodome']