From be839e14aba6b64a2f83cbd0cbb035c1a8e3e9fe Mon Sep 17 00:00:00 2001 From: Chun Ly Date: Tue, 23 Feb 2021 16:09:40 -0700 Subject: [PATCH 1/2] Use platform.uname instead of os.uname - Windows compatibility --- Metallicity_Stack_Commons/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Metallicity_Stack_Commons/logging.py b/Metallicity_Stack_Commons/logging.py index 89afc58..7a7377b 100644 --- a/Metallicity_Stack_Commons/logging.py +++ b/Metallicity_Stack_Commons/logging.py @@ -1,6 +1,6 @@ import sys from os.path import join -from os import uname +from platform import uname from getpass import getuser from socket import gethostname From 83098a81370943a92e62bc77974564aac54ff1e2 Mon Sep 17 00:00:00 2001 From: Chun Ly Date: Tue, 23 Feb 2021 16:11:58 -0700 Subject: [PATCH 2/2] Bump version: 1.4.2 -> 1.4.3 --- Metallicity_Stack_Commons/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Metallicity_Stack_Commons/__init__.py b/Metallicity_Stack_Commons/__init__.py index 714bbbd..538c7c1 100644 --- a/Metallicity_Stack_Commons/__init__.py +++ b/Metallicity_Stack_Commons/__init__.py @@ -10,7 +10,7 @@ from .logging import log_stdout, log_verbose -version = "1.4.2" +version = "1.4.3" lambda0 = [3726.18, 4101.73, 4340.46, 4363.21, 4861.32, 4958.91, 5006.84] line_type = ['Oxy2', 'Balmer', 'Balmer', 'Single', 'Balmer', 'Single', 'Single'] diff --git a/setup.py b/setup.py index ee33f35..105a708 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='Metallicity_Stack_Commons', - version='1.4.2', + version='1.4.3', packages=['Metallicity_Stack_Commons'], url='https://github.com/astrochun/Metallicity_Stack_Commons', license='MIT License',