From 7a64d1358e25e13f9b5419636346ab00493ba66a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 14 Jun 2022 10:36:11 -0400 Subject: [PATCH] remove unused module --- python/makewheel.py | 2 +- python/setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/makewheel.py b/python/makewheel.py index 64ecbe2464..a5b683aa63 100644 --- a/python/makewheel.py +++ b/python/makewheel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import sys,os,shutil +import sys,os # find python script to activate the virtual environment and source it if sys.platform == 'win32': diff --git a/python/setup.py b/python/setup.py index 0097e3d596..7794119930 100644 --- a/python/setup.py +++ b/python/setup.py @@ -3,7 +3,7 @@ from setuptools import setup from setuptools.dist import Distribution from sys import version_info -import os,time,shutil +import os,time LAMMPS_PYTHON_DIR = os.path.dirname(os.path.realpath(__file__)) LAMMPS_DIR = os.path.dirname(LAMMPS_PYTHON_DIR) LAMMPS_SOURCE_DIR = os.path.join(LAMMPS_DIR, 'src') @@ -24,7 +24,7 @@ def get_lammps_version(): class BinaryDistribution(Distribution): """Wrapper to enforce creating a binary package""" - def has_ext_modules(foo): + def has_ext_modules(self): return True if version_info.major >= 3: