From 1a8eec245a6b0bb905ba485689a97929d9fe8b22 Mon Sep 17 00:00:00 2001 From: Daniel Demus Date: Sat, 16 Nov 2024 01:02:10 +0100 Subject: [PATCH] Add setup.py --- config_handler.py => package/config_handler.py | 0 fetcher.py => package/fetcher.py | 0 huami_token.py => package/huami_token.py | 0 typemap.json => package/typemap.json | 0 typemap.py => package/typemap.py | 0 urls.py => package/urls.py | 0 setup.py | 11 +++++++++++ 7 files changed, 11 insertions(+) rename config_handler.py => package/config_handler.py (100%) rename fetcher.py => package/fetcher.py (100%) rename huami_token.py => package/huami_token.py (100%) rename typemap.json => package/typemap.json (100%) rename typemap.py => package/typemap.py (100%) rename urls.py => package/urls.py (100%) create mode 100644 setup.py diff --git a/config_handler.py b/package/config_handler.py similarity index 100% rename from config_handler.py rename to package/config_handler.py diff --git a/fetcher.py b/package/fetcher.py similarity index 100% rename from fetcher.py rename to package/fetcher.py diff --git a/huami_token.py b/package/huami_token.py similarity index 100% rename from huami_token.py rename to package/huami_token.py diff --git a/typemap.json b/package/typemap.json similarity index 100% rename from typemap.json rename to package/typemap.json diff --git a/typemap.py b/package/typemap.py similarity index 100% rename from typemap.py rename to package/typemap.py diff --git a/urls.py b/package/urls.py similarity index 100% rename from urls.py rename to package/urls.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a5589fc --- /dev/null +++ b/setup.py @@ -0,0 +1,11 @@ +from setuptools import find_packages, setup + +setup( + name='hf-cli', + version='0.1', + description='Huafetcher CLI', + author='Daniel Demus', + author_email='daniel-git@demus.dk', + packages=find_packages(), + install_requires=['argparse', 'tempfile', 'getpass', 'logging', 'os', 'json', 'types', 'json', 'random', 'shutil', 'requests', 'urllib'], +) \ No newline at end of file