From 396a2850e87d2213505942d42ba6745605459ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alice=20Zo=C3=AB=20Bevan=E2=80=93McGregor?= Date: Tue, 24 Jan 2023 12:20:09 -0500 Subject: [PATCH 1/2] Disable line number mapping. --- cinje/block/module.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cinje/block/module.py b/cinje/block/module.py index 868b7b7..8e2dfdd 100644 --- a/cinje/block/module.py +++ b/cinje/block/module.py @@ -78,9 +78,9 @@ def __call__(self, context): yield Line(0, '') - if __debug__: - yield Line(0, '__mapping__ = [' + ','.join(str(i) for i in mapping) + ']') + #if __debug__: + # yield Line(0, '__mapping__ = [' + ','.join(str(i) for i in mapping) + ']') - yield Line(0, '__gzmapping__ = b"' + red(mapping).replace('"', '\"') + '"') + #yield Line(0, '__gzmapping__ = b"' + red(mapping).replace('"', '\"') + '"') context.flag.remove('init') From 8f9352312b233bb0ceed57f92fdf74e63c6eadcd Mon Sep 17 00:00:00 2001 From: Gerthy Bingoly Date: Tue, 28 May 2024 11:02:03 -0400 Subject: [PATCH 2/2] Building Jfrog artifacts - find packages --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8324aee..e1e275c 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import sys import codecs -from setuptools import setup +from setuptools import setup, find_packages if sys.version_info < (2, 7): @@ -59,7 +59,7 @@ "Topic :: Utilities", ], - packages = ['cinje'], + packages = find_packages(), include_package_data = True, package_data = {'': ['README.rst', 'LICENSE.txt']}, namespace_packages = [],