Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/e/r/erp5-HEAD/product/ERP5/ERP5Site.py   erp5(Download)
from OFS.Application import Application
from Products.ERP5Type import Globals
from Products.ERP5Type.Globals import package_home
 
from Products.SiteErrorLog.SiteErrorLog import manage_addErrorLog
def getBootstrapDirectory():
  """
    Return the name of the bootstrap directory
  """
  product_path = package_home(globals())

src/e/r/erp5-HEAD/product/ERP5Type/Utils.py   erp5(Download)
import persistent
from hashlib import md5 as md5_new, sha1 as sha_new
from Products.ERP5Type.Globals import package_home
from Products.ERP5Type.Globals import DevelopmentMode
from Acquisition import aq_base
    for a Zope / CMF Product
  """
  product_path = package_home( global_hook )
 
  if not is_erp5_type:

src/e/r/erp5-HEAD/product/ERP5/__init__.py   erp5(Download)
allow_class(MovementGroup)
 
from Products.ERP5Type.Globals import package_home
product_path = package_home( globals() )
 

src/e/r/erp5-HEAD/product/ERP5Type/InitGenerator.py   erp5(Download)
import os, re, string, sys
from Products.ERP5Type import document_class_registry
from Products.ERP5Type.Globals import package_home, InitializeClass
 
from zLOG import LOG