File: remove-six.patch

package info (click to toggle)
python-docxcompose 1.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,136 kB
  • sloc: python: 2,338; makefile: 14; xml: 5; sh: 3
file content (23 lines) | stat: -rw-r--r-- 505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/docxcompose/properties.py
+++ b/docxcompose/properties.py
@@ -13,8 +13,8 @@
 from docxcompose.utils import xpath
 from lxml.etree import FunctionNamespace
 from lxml.etree import QName
-from six import binary_type
-from six import text_type
+binary_type = bytes
+text_type = str
 import pkg_resources
 import re
 
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,6 @@
         'lxml',
         'python-docx >= 0.8.8',
         'setuptools',
-        'six',
         'babel',
     ],
     extras_require={