Transform LAMMPS Python module into package

- Moves lammps.py into its own package
- Imports entire module in __init__.py
- Changes both how legacy and CMake build systems install
- Added traditional setup.py for Python-only installation

Note: the CMake install target runs setup.py build and install
in a way that produces files in CMAKE_BINARY_DIR/python instead
of python/build. This is to maintain out-of-source compilation
support.
This commit is contained in:
Richard Berger
2020-12-15 15:11:21 -05:00
parent 1fee2add51
commit aca2eefce5
6 changed files with 60 additions and 32 deletions

View File

@ -0,0 +1 @@
from .lammps import *

2926
python/lammps/lammps.py Normal file

File diff suppressed because it is too large Load Diff