diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-05-26 15:23:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 20:23:17 +0000 |
commit | a9e3f210023a70e41e5d677c0f26172aec747188 (patch) | |
tree | a9d279cebd17652c3c01354ccc072e647e3b5c02 | |
parent | 6d2d99d1fe55fcd632515b1ecfc2671a34df69bf (diff) | |
download | spack-a9e3f210023a70e41e5d677c0f26172aec747188.tar.gz spack-a9e3f210023a70e41e5d677c0f26172aec747188.tar.bz2 spack-a9e3f210023a70e41e5d677c0f26172aec747188.tar.xz spack-a9e3f210023a70e41e5d677c0f26172aec747188.zip |
py-applicationinsights: fix import tests (#23914)
-rw-r--r-- | var/spack/repos/builtin/packages/py-applicationinsights/package.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-applicationinsights/package.py b/var/spack/repos/builtin/packages/py-applicationinsights/package.py index 5f52a52ef6..ea155cdf19 100644 --- a/var/spack/repos/builtin/packages/py-applicationinsights/package.py +++ b/var/spack/repos/builtin/packages/py-applicationinsights/package.py @@ -11,6 +11,15 @@ class PyApplicationinsights(PythonPackage): homepage = "https://github.com/Microsoft/ApplicationInsights-Python" pypi = "applicationinsights/applicationinsights-0.11.9.tar.gz" + # 'applicationinsights.django' requires 'django', but 'django' isn't listed as a + # dependency. Leave out of 'import_modules' list to avoid unnecessary dependency. + import_modules = [ + 'applicationinsights', 'applicationinsights.flask', + 'applicationinsights.exceptions', 'applicationinsights.requests', + 'applicationinsights.channel', 'applicationinsights.channel.contracts', + 'applicationinsights.logging' + ] + version('0.11.9', sha256='30a11aafacea34f8b160fbdc35254c9029c7e325267874e3c68f6bdbcd6ed2c3') depends_on('py-setuptools', type='build') |