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:
1
python/lammps/__init__.py
Normal file
1
python/lammps/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from .lammps import *
|
||||
2926
python/lammps/lammps.py
Normal file
2926
python/lammps/lammps.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user