diff --git a/boxes/generators/discrack.py b/boxes/generators/discrack.py index 1c9eb6c..b92faf8 100644 --- a/boxes/generators/discrack.py +++ b/boxes/generators/discrack.py @@ -14,10 +14,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from __future__ import division, unicode_literals +from math import sqrt, pi, sin, cos from boxes import * -from math import sqrt, pi, sin, cos + def offset_radius_in_square(squareside, angle, outset): """From the centre of a square, rotate by an angle relative to the diff --git a/scripts/boxes b/scripts/boxes index 473f72c..ad3032d 100755 --- a/scripts/boxes +++ b/scripts/boxes @@ -15,10 +15,8 @@ Options: --list List available generators. """ -from __future__ import print_function -import sys import os -from pkg_resources import get_distribution +import sys try: import boxes