peteboyd / lammps_interface

automatic generation of LAMMPS input files for molecular dynamics simulations of MOFs
MIT License
125 stars 63 forks source link

install lammps-interface script with pip #19

Closed ltalirz closed 4 years ago

ltalirz commented 4 years ago

This PR let's pip install -e . automatically add a lammps-interface script to the PATH so you no longer need to do that manually.

Having both a file called lammps_interface.py and a folder lammps_interface is problematic since it can confuse python (from lammps_interface import ... becomes ambiguous). I've renamed it to lammps-interface with a dash since this seems to be more common in scripts; also, it would probably be the name of the package if we decide to put it on pypi (i.e. pip install lammps-interface)

ltalirz commented 4 years ago

Let me know if you like it!