File: exclude-tests-from-packaging.patch

package info (click to toggle)
python-mongoengine 0.6.13-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 916 kB
  • ctags: 2,474
  • sloc: python: 11,016; makefile: 81
file content (15 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Exclude tests from packaging it in global namespace.
Author: Janos Guljas <janos@resenje.org>
Last-Update: 2012-05-16

--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@
 
 setup(name='mongoengine',
       version=VERSION,
-      packages=find_packages(),
+      packages=find_packages(exclude=('tests',)),
       author='Harry Marr',
       author_email='harry.marr@{nospam}gmail.com',
       maintainer="Ross Lawley",