From c192d5b8e1142117f3d124dc73148ee3227b5e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B8gaard?= Date: Thu, 30 Sep 2021 13:28:45 +0200 Subject: [PATCH 1/3] Update licence in setup file and add badge --- README.md | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c45631bd2..87837db5f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # gnn-reco Development of a GNN based IceCube / DeepCore / Upgrade reconstruction +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![build](https://github.com/icecube/gnn-reco/actions/workflows/build.yml/badge.svg) \ No newline at end of file diff --git a/setup.py b/setup.py index 37b1cdd71..e3156bd03 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ description='A common library for using graph neural networks (GNNs) in netrino telescopes.', url='https://github.com/icecube/gnn-reco', author='The IceCube Collaboration', - license='MIT', + license='Apache 2.0', packages=find_packages(where='src'), package_dir={'': 'src'}, install_requires=[ From de9821a7dd97eed736655ec740fef1affd5a07ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B8gaard?= Date: Tue, 19 Oct 2021 07:28:58 +0000 Subject: [PATCH 2/3] Auto-updating badges --- misc/badges/coverage.svg | 4 ++-- misc/badges/pylint.svg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/badges/coverage.svg b/misc/badges/coverage.svg index dfb804287..be87fd021 100644 --- a/misc/badges/coverage.svg +++ b/misc/badges/coverage.svg @@ -17,7 +17,7 @@ coverage - 9% - 9% + 0% + 0% \ No newline at end of file diff --git a/misc/badges/pylint.svg b/misc/badges/pylint.svg index 3fc62cf78..66489f6d1 100644 --- a/misc/badges/pylint.svg +++ b/misc/badges/pylint.svg @@ -17,7 +17,7 @@ pylint - 5.31 - 5.31 + 6.03 + 6.03 \ No newline at end of file From 0d276f6a2c8f26615ebeb57d9102f765fe5aa091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B8gaard?= Date: Tue, 19 Oct 2021 13:35:41 +0200 Subject: [PATCH 3/3] Make additional installs (e.g. pytorch) user-specific --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3d52a0b8c..609f69e4f 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ # Utility method(s) def install(package): - subprocess.check_call([sys.executable, "-m", "pip", "install", package]) + subprocess.check_call([sys.executable, "-m", "pip", "install", "--user", package]) # Requirements definitions EXTRAS_REQUIRE = {