From: Alexandre Detiste <tchet@debian.org>
Forwarded: no

--- a/BCBio/GFF/GFFOutput.py
+++ b/BCBio/GFF/GFFOutput.py
@@ -3,7 +3,7 @@
 The target format is GFF3, the current GFF standard:
     http://www.sequenceontology.org/gff3.shtml
 """
-from six.moves import urllib
+import urllib.parse
 
 from Bio import SeqIO
 
--- a/BCBio/GFF/GFFParser.py
+++ b/BCBio/GFF/GFFParser.py
@@ -21,8 +21,7 @@
 import collections
 import io
 import itertools
-import six
-from six.moves import urllib
+import urllib.parse
 # Make defaultdict compatible with versions of python older than 2.4
 try:
     collections.defaultdict
@@ -816,7 +815,7 @@
         if hasattr(in_file, "read"):
             need_close = False
             in_handle = in_file
-            if six.PY3 and not isinstance(in_handle, io.TextIOBase):
+            if not isinstance(in_handle, io.TextIOBase):
                 raise TypeError('input handle must be opened in text mode')
         else:
             need_close = True
--- a/setup.py
+++ b/setup.py
@@ -18,5 +18,5 @@
       description="Read and write Generic Feature Format (GFF) with Biopython integration.",
       url="https://github.com/chapmanb/bcbb/tree/master/gff",
       packages=find_packages(),
-      install_requires=["six", "biopython"]
+      install_requires=["biopython"]
       )
