switch setuptools back to distutils

This commit is contained in:
Nicholas Lubbers
2020-12-22 09:59:50 -07:00
parent e7fa0a6bac
commit cf3ae8cdd2
2 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ print("Installing LAMMPS Python package version %s into site-packages folder" %
# we need to switch to the folder of the python package
os.chdir(os.path.dirname(args.package))
from setuptools import setup, find_packages
from distutils.core import setup
from distutils.sysconfig import get_python_lib
import site
@ -107,7 +107,7 @@ setup_kwargs= dict(name="lammps",
url="https://lammps.sandia.gov",
description="LAMMPS Molecular Dynamics Python package",
license="GPL",
packages=find_packages(),
packages=["lammps","lammps.mliap"],
)
tryuser=False

View File

@ -1,6 +1,6 @@
# this only installs the LAMMPS python package
# it assumes the LAMMPS shared library is already installed
from setuptools import setup, find_packages
from distutils.core import setup
import os
LAMMPS_PYTHON_DIR = os.path.dirname(os.path.realpath(__file__))
@ -22,5 +22,5 @@ setup(
url = "https://lammps.sandia.gov",
description = "LAMMPS Molecular Dynamics Python package",
license = "GPL",
packages=find_packages(),
packages=["lammps","lammps.mliap"],
)