removed builtins imports
parent
465e96f8c8
commit
1655b77d15
|
@ -5,8 +5,6 @@ points given by their standard representation."""
|
||||||
|
|
||||||
# External dependencies:
|
# External dependencies:
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import range
|
|
||||||
from builtins import object
|
|
||||||
from math import factorial as fac, ceil, log, sqrt
|
from math import factorial as fac, ceil, log, sqrt
|
||||||
from numpy import poly1d
|
from numpy import poly1d
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ aren't specific to SVGs or related mathematical objects."""
|
||||||
|
|
||||||
# External dependencies:
|
# External dependencies:
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import range
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
|
|
@ -4,10 +4,6 @@ Arc."""
|
||||||
|
|
||||||
# External dependencies
|
# External dependencies
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import map
|
|
||||||
from builtins import zip
|
|
||||||
from builtins import range
|
|
||||||
from builtins import object
|
|
||||||
from math import sqrt, cos, sin, acos, degrees, radians, log, pi
|
from math import sqrt, cos, sin, acos, degrees, radians, log, pi
|
||||||
from cmath import exp, sqrt as csqrt, phase
|
from cmath import exp, sqrt as csqrt, phase
|
||||||
from collections import MutableSequence
|
from collections import MutableSequence
|
||||||
|
|
|
@ -3,8 +3,6 @@ segments."""
|
||||||
|
|
||||||
# External dependencies:
|
# External dependencies:
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import zip
|
|
||||||
from builtins import str
|
|
||||||
from math import ceil
|
from math import ceil
|
||||||
from os import getcwd, path as os_path, makedirs
|
from os import getcwd, path as os_path, makedirs
|
||||||
from xml.dom.minidom import parse as md_xml_parse
|
from xml.dom.minidom import parse as md_xml_parse
|
||||||
|
|
|
@ -5,7 +5,6 @@ curves."""
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
# Internal Dependencies
|
# Internal Dependencies
|
||||||
from builtins import range
|
|
||||||
from .path import Path, CubicBezier, Line
|
from .path import Path, CubicBezier, Line
|
||||||
from .misctools import isclose
|
from .misctools import isclose
|
||||||
from .paths2svg import disvg
|
from .paths2svg import disvg
|
||||||
|
|
|
@ -3,7 +3,6 @@ The main tool being the svg2paths() function."""
|
||||||
|
|
||||||
# External dependencies
|
# External dependencies
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import zip
|
|
||||||
from xml.dom.minidom import parse
|
from xml.dom.minidom import parse
|
||||||
from os import path as os_path, getcwd
|
from os import path as os_path, getcwd
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from builtins import range
|
|
||||||
import unittest
|
import unittest
|
||||||
from svgpathtools.bezier import *
|
from svgpathtools.bezier import *
|
||||||
from svgpathtools.path import bpoints2bezier
|
from svgpathtools.path import bpoints2bezier
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Note: This file was taken mostly as is from the svg.path module (v 2.0)
|
# Note: This file was taken mostly as is from the svg.path module (v 2.0)
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import zip
|
|
||||||
import unittest
|
import unittest
|
||||||
from svgpathtools import *
|
from svgpathtools import *
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
# External dependencies
|
# External dependencies
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import zip
|
|
||||||
from builtins import str
|
|
||||||
import unittest
|
import unittest
|
||||||
from math import sqrt, pi
|
from math import sqrt, pi
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# External dependencies
|
# External dependencies
|
||||||
from __future__ import division, absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
from builtins import range
|
|
||||||
import unittest
|
import unittest
|
||||||
from numpy import poly1d
|
from numpy import poly1d
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue