From fd55db92d3bc8f497ff1de1992c75da8f1341ac3 Mon Sep 17 00:00:00 2001 From: GD Date: Mon, 7 Mar 2022 18:16:36 +0100 Subject: [PATCH 1/2] potential fix for github issue #10 : remove doc copy during installation (still included in distribution thanks to MANIFEST.in) --- setup.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/setup.py b/setup.py index 7a3db21..8344486 100644 --- a/setup.py +++ b/setup.py @@ -168,24 +168,6 @@ def get_extension(): return [spams_wrap] -def mkhtml(d=None, base='sphinx'): - if d is None: - d = base - else: - d = os.path.join(base, d) - if not os.path.isdir(base): - return [] - hdir = d - - l1 = os.listdir(hdir) - l = [] - for s in l1: - s = os.path.join(d, s) - if not os.path.isdir(s): - l.append(s) - return l - - # project root directory this_directory = os.path.abspath(os.path.dirname(__file__)) @@ -221,12 +203,6 @@ def mkhtml(d=None, base='sphinx'): 'tests/test_prox.py', 'tests/test_utils.py']), ('doc', ['doc/doc_spams.pdf']), - ('doc/sphinx/_sources', - mkhtml(d='_sources', base='doc/sphinx')), - ('doc/sphinx/_static', mkhtml(d='_static', - base='doc/sphinx')), - ('doc/sphinx', mkhtml(base='doc/sphinx')), - ('doc/html', mkhtml(base='doc/html')), ('tests', ['data/boat.png', 'data/lena.png'])], include_package_data=True, zip_safe=True From e34db5acea634180db6af5fbbb72bc711a98e7d8 Mon Sep 17 00:00:00 2001 From: GD Date: Mon, 7 Mar 2022 18:17:00 +0100 Subject: [PATCH 2/2] package version update --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index f14546b..0ce6c9d 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.6.5.0 +2.6.5.1