slice page working. added temporarily core and util classes from manifold core
[myslice.git] / manifold / util / misc.py
1 import os, glob, inspect
2
3
4 # Define the inclusion operator
5 class contains(type): pass
6
7 def find_local_modules(filepath):
8     modules = []
9     for f in glob.glob(os.path.dirname(filepath)+"/*.py"):
10         name = os.path.basename(f)[:-3]
11         if name != '__init__':
12             modules.append(name)
13     return modules