diff --git a/LICENSE b/LICENSE index a9b5e744c0d05f2592bc82552323c2044a5bfbce..e3338cd305b0f237ffc32f29ed774e24ca937599 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 0000000000000000000000000000000000000000..535cd037087580454ea8fb68105b6a6d670dff61 --- /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