python-base-toolkit 0.0.3__py3-none-any.whl → 0.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- python_base_toolkit/scripts/__init__.py +0 -0
- python_base_toolkit/scripts/remove_build_files.py +23 -0
- {python_base_toolkit-0.0.3.dist-info → python_base_toolkit-0.0.4.dist-info}/METADATA +3 -1
- {python_base_toolkit-0.0.3.dist-info → python_base_toolkit-0.0.4.dist-info}/RECORD +7 -5
- {python_base_toolkit-0.0.3.dist-info → python_base_toolkit-0.0.4.dist-info}/WHEEL +0 -0
- {python_base_toolkit-0.0.3.dist-info → python_base_toolkit-0.0.4.dist-info}/licenses/LICENSE +0 -0
- {python_base_toolkit-0.0.3.dist-info → python_base_toolkit-0.0.4.dist-info}/top_level.txt +0 -0
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import shutil
|
|
2
|
+
|
|
3
|
+
from python_base_toolkit.utils.path_utils import get_project_path_by_file
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def clean_build_artifacts() -> None:
|
|
7
|
+
ignore_dirs = {".git", ".github", ".venv", "__pycache__", ".idea", ".config"}
|
|
8
|
+
build_dirs = ["build", "dist"]
|
|
9
|
+
egg_info_suffix = ".egg-info"
|
|
10
|
+
|
|
11
|
+
root_project_path = get_project_path_by_file()
|
|
12
|
+
for p in root_project_path.iterdir():
|
|
13
|
+
if p.name in ignore_dirs:
|
|
14
|
+
continue
|
|
15
|
+
|
|
16
|
+
if p.is_dir() and p.name.endswith(egg_info_suffix):
|
|
17
|
+
shutil.rmtree(p, ignore_errors=True)
|
|
18
|
+
elif p.is_dir() and p.name in build_dirs:
|
|
19
|
+
shutil.rmtree(p, ignore_errors=True)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
if __name__ == "__main__":
|
|
23
|
+
clean_build_artifacts()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-base-toolkit
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: A Python package for managing pytest plugins.
|
|
5
5
|
Author: Avi Zaguri
|
|
6
6
|
License: MIT
|
|
@@ -16,6 +16,7 @@ Classifier: Topic :: System :: Logging
|
|
|
16
16
|
Requires-Python: >=3.11
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
+
Requires-Dist: build>=1.3.0
|
|
19
20
|
Requires-Dist: colorlog>=6.10.1
|
|
20
21
|
Requires-Dist: custom-python-logger>=2.0.10
|
|
21
22
|
Requires-Dist: pandas>=2.3.3
|
|
@@ -27,6 +28,7 @@ Requires-Dist: pyyaml>=6.0.3
|
|
|
27
28
|
Requires-Dist: requests>=2.32.5
|
|
28
29
|
Requires-Dist: setuptools>=80.9.0
|
|
29
30
|
Requires-Dist: tqdm>=4.67.1
|
|
31
|
+
Requires-Dist: twine>=6.2.0
|
|
30
32
|
Requires-Dist: wheel>=0.45.1
|
|
31
33
|
Dynamic: license-file
|
|
32
34
|
|
|
@@ -9,6 +9,8 @@ python_base_toolkit/decorators/telemetry.py,sha256=XKQTYbTqt_3mLVyin5HY7ucgAyAs_
|
|
|
9
9
|
python_base_toolkit/decorators/timer.py,sha256=MjfkM_aZ1gYG1mmG3Cos3sCM1QdWVyT2wEOEdFA-Uqs,1011
|
|
10
10
|
python_base_toolkit/instances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
python_base_toolkit/instances/instance_manager.py,sha256=iq72kcPlbc7-AQTuKcBOeqKZbC8vYcsU5GiFXvt5UMs,2278
|
|
12
|
+
python_base_toolkit/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
python_base_toolkit/scripts/remove_build_files.py,sha256=461h7BkuwhaCBK17fbxDc3n_nQhL5aCXm3VP52s8sW8,694
|
|
12
14
|
python_base_toolkit/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
15
|
python_base_toolkit/utils/data_serialization.py,sha256=Xf_JTMQPAQfCDM4b0CJxHK7CjmbmVassYViDa65B97A,1197
|
|
14
16
|
python_base_toolkit/utils/date_time.py,sha256=U1P_8qPnEQzI4DguHVEofYLzlyuWfK7L6VsOKPbMa7c,429
|
|
@@ -23,8 +25,8 @@ python_base_toolkit/utils/pycache.py,sha256=X-pWRjAd2xcBtMkcyCuKz34SbHWc2leBHBIj
|
|
|
23
25
|
python_base_toolkit/utils/random_utils.py,sha256=gTH6k1MKKGNZvBTLc5H-eSmtEGvXEdLqtzXN9aHuu-A,2730
|
|
24
26
|
python_base_toolkit/utils/shorten_url.py,sha256=zsyW3wloFJdVb9s3fhR-olL6ekT03FDlFm2xbFY4viw,359
|
|
25
27
|
python_base_toolkit/utils/venv_details.py,sha256=d1WlZr1LuWz2SXdFP0Hqh6VHXXXSIuXB0oTmWXJrGqM,210
|
|
26
|
-
python_base_toolkit-0.0.
|
|
27
|
-
python_base_toolkit-0.0.
|
|
28
|
-
python_base_toolkit-0.0.
|
|
29
|
-
python_base_toolkit-0.0.
|
|
30
|
-
python_base_toolkit-0.0.
|
|
28
|
+
python_base_toolkit-0.0.4.dist-info/licenses/LICENSE,sha256=cSikHY6SZFsPZSBizCDAJ0-Bjjzxt-JtX6TVbKxwimo,1067
|
|
29
|
+
python_base_toolkit-0.0.4.dist-info/METADATA,sha256=YNk79wWpNBkvAcgGgocu9okLgkTkg-1c-Y8YsIrL4DY,2438
|
|
30
|
+
python_base_toolkit-0.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
31
|
+
python_base_toolkit-0.0.4.dist-info/top_level.txt,sha256=I9kK6FGKq_6z3aGySoWamY68GRgg0xsL6sS-uyaxJ2k,20
|
|
32
|
+
python_base_toolkit-0.0.4.dist-info/RECORD,,
|
|
File without changes
|
{python_base_toolkit-0.0.3.dist-info → python_base_toolkit-0.0.4.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|