Eigenstate / vmd-python

Installable VMD as a python module
Other
129 stars 24 forks source link

Python3 #2

Closed Eigenstate closed 7 years ago

Eigenstate commented 7 years ago

Support for Python2 or Python3 depending on what's compiling it (aka #ifdefs everywhere). Importing is MUCH MUCH more sane. You no longer have to import vmd before everything will magically work. I've removed the VMD.py meta-module and have init do everything it used to.

All the modules are technically in the vmd "namespace" now so this may change some people's scripts. I've already fixed Dabble though and it's a very easy fix. import vmd; import molecule -> from vmd import molecule.