mem_edit/mem_edit/__init__.py
Jan Petykiewicz 9759645f92 move version info into VERSION.py
This avoid needing custom spec files for pyinstaller, which doesn't
handle package_data by default
2020-11-01 20:16:06 -08:00

32 lines
628 B
Python

"""
mem_edit
mem_edit is a multi-platform (Windows and Linux) python package for
reading, writing, and searching in the working memory of running
programs.
To get started, try:
from mem_edit import Process
help(Process)
"""
import platform
from .utils import MemEditError
__author__ = 'Jan Petykiewicz'
from .VERSION import __version__
version = __version__ # legacy compatibility
system = platform.system()
if system == 'Windows':
from .windows import Process
elif system == 'Linux':
from .linux import Process
else:
raise MemEditError('Only Linux and Windows are currently supported.')