From 448b845effa140bc1d61bf134f8a83d5b27b525d Mon Sep 17 00:00:00 2001 From: Akash Dhruv Date: Fri, 23 Jun 2023 12:40:09 -0500 Subject: [PATCH 1/2] update versions --- MANIFEST.in | 2 +- boxkit/__meta__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index fd79c3bf..b594e5aa 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,6 @@ include README.rst include LICENSE include bin/* include media/* -include options/* +include requirements/* recursive-include boxkit/cbox * recursive-include boxkit/depends * diff --git a/boxkit/__meta__.py b/boxkit/__meta__.py index 6da0f868..f2380d5d 100644 --- a/boxkit/__meta__.py +++ b/boxkit/__meta__.py @@ -1,7 +1,7 @@ """Metadata for BoxKit package""" __pkgname__ = "BoxKit" -__version__ = "2023.06" +__version__ = "2023.06.1" __authors__ = "Akash Dhruv" __license__ = "Apache License" __copyright__ = "Copyright (c) Akash Dhruv 2023. All Rights Reserved." From 5173ae6f42802ae3424d1fd68f3cd61d3ef85468 Mon Sep 17 00:00:00 2001 From: Akash Dhruv Date: Fri, 23 Jun 2023 13:47:09 -0500 Subject: [PATCH 2/2] change version and options --- bin/cmd.py | 14 +++++++------- boxkit/__meta__.py | 3 +-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/bin/cmd.py b/bin/cmd.py index b49eec42..c9ad9c89 100644 --- a/bin/cmd.py +++ b/bin/cmd.py @@ -30,12 +30,12 @@ def initialize_options(self): """ Initialize options """ - self.with_cbox = 0 # pylint: disable=attribute-defined-outside-init - self.with_pyarrow = 0 # pylint: disable=attribute-defined-outside-init - self.with_zarr = 0 # pylint: disable=attribute-defined-outside-init - self.with_dask = 0 # pylint: disable=attribute-defined-outside-init - self.with_server = 0 # pylint: disable=attribute-defined-outside-init - self.enable_testing = 0 # pylint: disable=attribute-defined-outside-init + self.with_cbox = None # pylint: disable=attribute-defined-outside-init + self.with_pyarrow = None # pylint: disable=attribute-defined-outside-init + self.with_zarr = None # pylint: disable=attribute-defined-outside-init + self.with_dask = None # pylint: disable=attribute-defined-outside-init + self.with_server = None # pylint: disable=attribute-defined-outside-init + self.enable_testing = None # pylint: disable=attribute-defined-outside-init def finalize_options(self): """ @@ -49,7 +49,7 @@ def finalize_options(self): "with_server", "enable_testing", ]: - if getattr(self, option) not in [0, 1]: + if getattr(self, option) not in [None, 1]: raise ValueError(f"{option} is a flag") def run(self, user): diff --git a/boxkit/__meta__.py b/boxkit/__meta__.py index f2380d5d..ca9fb870 100644 --- a/boxkit/__meta__.py +++ b/boxkit/__meta__.py @@ -1,9 +1,8 @@ """Metadata for BoxKit package""" __pkgname__ = "BoxKit" -__version__ = "2023.06.1" +__version__ = "2023.06.5" __authors__ = "Akash Dhruv" __license__ = "Apache License" __copyright__ = "Copyright (c) Akash Dhruv 2023. All Rights Reserved." __description__ = "BoxKit utility" -