From 20032e50be8aa3323cedb36b762263abc416fc7b Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Sat, 31 Dec 2022 15:52:55 +0100 Subject: [PATCH] Remove outdated imports --- boxes/generators/discrack.py | 4 ++-- scripts/boxes | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) 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