From 40b4e9e23c8151ae1fb9dc79e39fe90cdbb637d8 Mon Sep 17 00:00:00 2001 From: Patrick Kennel Date: Thu, 2 Jul 2020 17:15:03 -0700 Subject: [PATCH] bugfix: itsybitsy.itsybitsy_spider namespace package files were not included in build/wheel --- TODO.md | 2 ++ setup.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 44080e1..46fd25f 100644 --- a/TODO.md +++ b/TODO.md @@ -147,6 +147,8 @@ * [x] REFACTOR: (all): refactor package architecture * [x] TIMEOUT: (crawl) robust provider timeout and exception handling * [x] OBSCURIFIER (render_*): obscurifier for output +* [x] BUG: fix namespace package not being include in dist +* [ ] DOCS: remove non obfuscated example video from README * [ ] LOGGER: rewrite logger access for community standards * [ ] PLUGPLAY: out of the box functionality by moving TCP to a "builtin" CrawlStrategy and using `hostname` or default service name * [ ] REFACTOR: (providers): rewrite take_a_hint to not return a list, just return a single NodeTransport diff --git a/setup.py b/setup.py index 664d3b5..6538274 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ import re -from setuptools import setup +from setuptools import setup, find_namespace_packages version = re.search( r'^__version__\s*=\s*"(.*)"', @@ -19,7 +19,7 @@ long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/life360/itsybitsy", - packages=["itsybitsy"], + packages=['itsybitsy', 'itsybitsy.itsybitsy_plugins'], entry_points={ "console_scripts": ['itsybitsy = itsybitsy.itsybitsy:main'] },