From 56fa916e12b1e4febfe6ce1e4fc15dd20fc9fbd6 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Sun, 10 Dec 2023 12:43:38 +0800 Subject: [PATCH] tweaks --- LICENSE | 2 +- Makefile | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/LICENSE b/LICENSE index a9b5e74..e3338cd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 CSST-L1 +Copyright (c) 2022 CSST Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..535cd03 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +export PKG=csst_common + +clean: + rm -rf build dist $(PKG).egg-info + rm -rf .coverage .pytest_cache + +install: clean + pip install . + rm -rf build dist $(PKG).egg-info + +uninstall: + pip uninstall $(PKG) -y + +test: + coverage run -m pytest . --import-mode=importlib --cov-report=html --cov-report=term-missing + coverage report -m + rm -rf .coverage .pytest_cache -- GitLab