switch setuptools back to distutils
This commit is contained in:
@ -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
|
# we need to switch to the folder of the python package
|
||||||
os.chdir(os.path.dirname(args.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
|
from distutils.sysconfig import get_python_lib
|
||||||
import site
|
import site
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ setup_kwargs= dict(name="lammps",
|
|||||||
url="https://lammps.sandia.gov",
|
url="https://lammps.sandia.gov",
|
||||||
description="LAMMPS Molecular Dynamics Python package",
|
description="LAMMPS Molecular Dynamics Python package",
|
||||||
license="GPL",
|
license="GPL",
|
||||||
packages=find_packages(),
|
packages=["lammps","lammps.mliap"],
|
||||||
)
|
)
|
||||||
|
|
||||||
tryuser=False
|
tryuser=False
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# this only installs the LAMMPS python package
|
# this only installs the LAMMPS python package
|
||||||
# it assumes the LAMMPS shared library is already installed
|
# it assumes the LAMMPS shared library is already installed
|
||||||
from setuptools import setup, find_packages
|
from distutils.core import setup
|
||||||
import os
|
import os
|
||||||
|
|
||||||
LAMMPS_PYTHON_DIR = os.path.dirname(os.path.realpath(__file__))
|
LAMMPS_PYTHON_DIR = os.path.dirname(os.path.realpath(__file__))
|
||||||
@ -22,5 +22,5 @@ setup(
|
|||||||
url = "https://lammps.sandia.gov",
|
url = "https://lammps.sandia.gov",
|
||||||
description = "LAMMPS Molecular Dynamics Python package",
|
description = "LAMMPS Molecular Dynamics Python package",
|
||||||
license = "GPL",
|
license = "GPL",
|
||||||
packages=find_packages(),
|
packages=["lammps","lammps.mliap"],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user