• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(2356)  |  Call(2284)  |  Derive(0)  |  Import(72)
Ensure that distributions matching `requirements` are activated

`requirements` must be a string or a (possibly-nested) sequence
thereof, specifying the distributions and versions required.  The
return value is a sequence of the distributions that needed to be
activated to fulfill the requirements; all relevant distributions are
included, even if they were already activated in this working set.

src/p/o/polinax-HEAD/libs/external_libs/Genshi-0.5.1/examples/turbogears/start-genshitest.py   polinax(Download)
#!/usr/bin/python
import pkg_resources
pkg_resources.require("TurboGears")
 
import turbogears
import cherrypy
cherrypy.lowercase_api = True

src/p/y/pypes-HEAD/core/trunk/examples/HelloWorldExample.py   pypes(Download)
# load the pypes framework
from pkg_resources import require
require('pypes')
 
# import the Dataflow module
from pypes.pipeline import Dataflow
# import the Component Interface

src/p/y/pypes-HEAD/core/trunk/examples/DataFlowExample.py   pypes(Download)
# load the pypes framework
from pkg_resources import require
require('pypes')
 
# import the Dataflow module
from pypes.pipeline import Dataflow
# import some built-in filters provided by the framework (for testing)

src/p/y/pypes-HEAD/core/trunk/examples/ComponentInterfaceExample.py   pypes(Download)
# load the pypes framework
from pkg_resources import require
require('pypes')
 
import stackless
 
from pypes.pype import Pype

src/p/y/pypes-HEAD/core/trunk/examples/Beer.py   pypes(Download)
# load the pypes framework
from pkg_resources import require
require('pypes')
 
import re
import time
 

src/c/o/cogen-0.2.1/examples/cogen-irc/CogenIrcApp/cogenircapp/tests/__init__.py   cogen(Download)
 
sys.path.insert(0, conf_dir)
pkg_resources.working_set.add_entry(conf_dir)
pkg_resources.require('Paste')
pkg_resources.require('PasteScript')
 
test_file = os.path.join(conf_dir, 'test.ini')

src/c/o/cogen-0.2.1/examples/cogen-chat/ChatApp/chatapp/tests/__init__.py   cogen(Download)
 
sys.path.insert(0, conf_dir)
pkg_resources.working_set.add_entry(conf_dir)
pkg_resources.require('Paste')
pkg_resources.require('PasteScript')
 
test_file = os.path.join(conf_dir, 'test.ini')

src/d/r/dragonfly-0.6.5/dragonfly/windows/example_dialog.py   dragonfly(Download)
from ctypes.wintypes import POINT
 
import pkg_resources
pkg_resources.require("dragonfly >= 0.6.4rc3.dev_r57")
 
from dragonfly.all import Clipboard
 

src/t/w/twMaps-0.1a0.dev-r720/twMapsSampleAppPylons/twmapssampleapppylons/tests/__init__.py   twMaps(Download)
 
pkg_resources.working_set.add_entry(conf_dir)
 
pkg_resources.require('Paste')
pkg_resources.require('PasteScript')
 
from paste.deploy import loadapp

src/s/m/smisk-HEAD/examples/wsgi/trac-adapter/fcgi_frontend.py   smisk(Download)
 
if __name__ == '__main__':
  import pkg_resources
  pkg_resources.require('Trac==%s' % VERSION)
  main()
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next