File: fix-namespace_packages.patch

package info (click to toggle)
pydap 2.2.6.7-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 448 kB
  • sloc: python: 3,049; makefile: 5
file content (28 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From bfae748fdea82b74ff7b983570f7ec4c89a25e73 Mon Sep 17 00:00:00 2001
From: Mike Neish <neishm@atmosp.physics.utoronto.ca>
Date: Thu, 8 Oct 2015 10:26:16 -0700
Subject: Add the "dap" package to the namespace_packages list in setup.py, to
 fix a warning whenever "pkg_resources" is imported.

Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709376#5
Reviewed-by: Jakub Wilk <jwilk@debian.org>
Last-Update: 2013-06-21

Patch-Name: fix-namespace_packages.patch
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index b6d1553..45949a0 100644
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,7 @@ The latest version is available in a `Subversion repository
       url='http://pydap.org/',
       license='MIT',
       packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
-      namespace_packages=['dap.plugins', 'dap.responses'],
+      namespace_packages=['dap', 'dap.plugins', 'dap.responses'],
       include_package_data=True,
       zip_safe=False,
       install_requires=[