remove unused module

This commit is contained in:
Axel Kohlmeyer
2022-06-14 10:36:11 -04:00
parent 26dcb649bb
commit 7a64d1358e
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys,os,shutil import sys,os
# find python script to activate the virtual environment and source it # find python script to activate the virtual environment and source it
if sys.platform == 'win32': if sys.platform == 'win32':

View File

@ -3,7 +3,7 @@
from setuptools import setup from setuptools import setup
from setuptools.dist import Distribution from setuptools.dist import Distribution
from sys import version_info from sys import version_info
import os,time,shutil import os,time
LAMMPS_PYTHON_DIR = os.path.dirname(os.path.realpath(__file__)) LAMMPS_PYTHON_DIR = os.path.dirname(os.path.realpath(__file__))
LAMMPS_DIR = os.path.dirname(LAMMPS_PYTHON_DIR) LAMMPS_DIR = os.path.dirname(LAMMPS_PYTHON_DIR)
LAMMPS_SOURCE_DIR = os.path.join(LAMMPS_DIR, 'src') LAMMPS_SOURCE_DIR = os.path.join(LAMMPS_DIR, 'src')
@ -24,7 +24,7 @@ def get_lammps_version():
class BinaryDistribution(Distribution): class BinaryDistribution(Distribution):
"""Wrapper to enforce creating a binary package""" """Wrapper to enforce creating a binary package"""
def has_ext_modules(foo): def has_ext_modules(self):
return True return True
if version_info.major >= 3: if version_info.major >= 3: