File: deb_specific__dont_require_argparse.patch

package info (click to toggle)
python-memprof 0.3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 232 kB
  • ctags: 80
  • sloc: python: 338; makefile: 7; sh: 2
file content (19 lines) | stat: -rw-r--r-- 636 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Javi Merino <vicho@debian.org>
Description: don't require argparse
 It's included in python by default in >= 2.7 and >= 3.2 .  It
 confuses dh_python3 and it's not really needed for Debian, so just
 drop the requiremenet.

--- a/setup.py
+++ b/setup.py
@@ -84,8 +84,8 @@ setup(
       "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
   ],
   ext_modules=[getsize],
-  requires=['argparse','matplotlib','cython'],
-  install_requires=['argparse','matplotlib','cython'],
+  requires=['matplotlib','cython'],
+  install_requires=['matplotlib','cython'],
   provides=['memprof'],
   test_suite = "testsuite",
 )