Skip to content

Commit

Permalink
Merge pull request #15 from quillcraftsman/fix_github_folder
Browse files Browse the repository at this point in the history
fix issue 1 folders with point was ignored
  • Loading branch information
quillcraftsman authored Sep 5, 2023
2 parents 1fa0dea + 502ca53 commit 98e75c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from setuptools import setup

PACKAGE_NAME = 'lava-cactus'
VERSION = "1.2.0"
VERSION = "1.2.1"
SKELETON_FOLDERS = [
'pages',
'plugins',
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 98e75c0

Please sign in to comment.