From 502ca53e280466f59598570b9b9506a699dc2c7c Mon Sep 17 00:00:00 2001 From: quillcraftsman Date: Tue, 5 Sep 2023 18:08:32 +0400 Subject: [PATCH] fix issue 1 folders with point was ignored --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 82d55ad..4742f76 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import setup PACKAGE_NAME = 'lava-cactus' -VERSION = "1.2.0" +VERSION = "1.2.1" SKELETON_FOLDERS = [ 'pages', 'plugins', @@ -99,7 +99,7 @@ def is_package(package_name): for dirpath, dirnames, filenames in os.walk(cactus_dir): # Ignore PEP 3147 cache dirs and those whose names start with '.' - dirnames[:] = [d for d in dirnames if not d.startswith('.') and d != '__pycache__'] + dirnames[:] = [d for d in dirnames if ((not d.startswith('.')) or (d == '.github')) and d != '__pycache__'] parts = fullsplit(dirpath) package_name = '.'.join(parts) if '__init__.py' in filenames and is_package(package_name):