From f4e703abee9c06eb0962474f26028cdacc4b8524 Mon Sep 17 00:00:00 2001 From: Jensun Ravichandran Date: Wed, 21 Apr 2021 13:30:50 +0200 Subject: [PATCH] Use models namespace --- README.md | 6 +++--- .../{plugintemplate => models}/__init__.py | 0 setup.py | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) rename prototorch/{plugintemplate => models}/__init__.py (100%) diff --git a/README.md b/README.md index 5dfaa44..037217f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# prototorch_plugintemplate -Prototorch plugin template. +# prototorch_models -TODO: Instructions +Pre-packaged prototype-based machine learning models using ProtoTorch and +PyTorch-Lightning. diff --git a/prototorch/plugintemplate/__init__.py b/prototorch/models/__init__.py similarity index 100% rename from prototorch/plugintemplate/__init__.py rename to prototorch/models/__init__.py diff --git a/setup.py b/setup.py index 675bf92..d6a746e 100644 --- a/setup.py +++ b/setup.py @@ -1,21 +1,21 @@ """ - _____ _ _______ _ - | __ \ | | |__ __| | | + _____ _ _______ _ + | __ \ | | |__ __| | | | |__) | __ ___ | |_ ___ | | ___ _ __ ___| |__ - | ___/ '__/ _ \| __/ _ \| |/ _ \| '__/ __| '_ \ + | ___/ '__/ _ \| __/ _ \| |/ _ \| '__/ __| '_ \ | | | | | (_) | || (_) | | (_) | | | (__| | | | |_| |_| \___/ \__\___/|_|\___/|_| \___|_| |_|Plugin -ProtoTorch plugintemplate Plugin Package +ProtoTorch models Plugin Package """ from pkg_resources import safe_name from setuptools import setup from setuptools import find_namespace_packages -PLUGIN_NAME = "plugintemplate" +PLUGIN_NAME = "models" -PROJECT_URL = "https://github.com/si-cim/prototorch_plugintemplate" -DOWNLOAD_URL = "https://github.com/si-cim/prototorch_plugintemplate.git" +PROJECT_URL = "https://github.com/si-cim/prototorch_models" +DOWNLOAD_URL = "https://github.com/si-cim/prototorch_models.git" with open("README.md", "r") as fh: long_description = fh.read() @@ -25,7 +25,7 @@ INSTALL_REQUIRES = ["prototorch"] setup( name=safe_name("prototorch_" + PLUGIN_NAME), use_scm_version=True, - descripion="Template for ProtoTorch Plugin.", + descripion="Pre-packaged prototype-based machine learning models using ProtoTorch and PyTorch-Lightning.", long_description=long_description, author="Alexander Engelsberger", author_email="engelsbe@hs-mittweida.de",