Did I find the right examples for you? yes no

All Samples(5821)  |  Call(0)  |  Derive(0)  |  Import(5821)
Extensions to the 'distutils' for large or complex distributions

src/y/t/yt-2.6.2/yt/analysis_modules/coordinate_transformation/setup.py   yt(Download)
#!/usr/bin/env python
import setuptools
import os
import sys
import os.path

src/n/e/nestoria-0.31/nestoria/ez_setup.py   nestoria(Download)
    """
    try:
        import setuptools
        if setuptools.__version__ == '0.0.1':
            print >>sys.stderr, (
        egg = download_setuptools(version, download_base, to_dir, download_delay)
        sys.path.insert(0, egg)
        import setuptools; setuptools.bootstrap_install_from = egg
 
    import pkg_resources
def main(argv, version=DEFAULT_VERSION):
    """Install or upgrade setuptools and EasyInstall"""
 
    try:
        import setuptools

src/k/i/kitsune-HEAD/vendor/packages/setuptools/setuptools/command/install.py   kitsune(Download)
import setuptools, sys, glob
from distutils.command.install import install as _install
from distutils.errors import DistutilsArgError
 
class install(_install):

src/k/i/kitsune-HEAD/vendor/packages/setuptools/setuptools/command/easy_install.py   kitsune(Download)
def bootstrap():
    # This function is called when setuptools*.egg is run using /bin/sh
    import setuptools; argv0 = os.path.dirname(setuptools.__path__[0])
    sys.argv[0] = argv0; sys.argv.append(argv0); main()
 

src/k/i/kitsune-HEAD/vendor/packages/setuptools/setuptools/command/develop.py   kitsune(Download)
from distutils import log
from distutils.errors import *
import sys, os, setuptools, glob
 
class develop(easy_install):

src/o/h/oh-mainline-HEAD/vendor/packages/scrapy/scrapy/commands/deploy.py   oh-mainline(Download)
    def run(self, args, opts):
        try:
            import setuptools
        except ImportError:
            raise UsageError("setuptools not installed")

src/h/u/hue-HEAD/desktop/core/ext-py/Pygments-1.3.1/ez_setup.py   hue(Download)
    def do_download():
        egg = download_setuptools(version, download_base, to_dir, download_delay)
        sys.path.insert(0, egg)
        import setuptools; setuptools.bootstrap_install_from = egg
    try:
def main(argv, version=DEFAULT_VERSION):
    """Install or upgrade setuptools and EasyInstall"""
    try:
        import setuptools
    except ImportError:

src/h/u/hue-HEAD/desktop/core/ext-py/MySQL-python-1.2.3c1/ez_setup.py   hue(Download)
    def do_download():
        egg = download_setuptools(version, download_base, to_dir, download_delay)
        sys.path.insert(0, egg)
        import setuptools; setuptools.bootstrap_install_from = egg
    try:
def main(argv, version=DEFAULT_VERSION):
    """Install or upgrade setuptools and EasyInstall"""
    try:
        import setuptools
    except ImportError:

src/h/u/hue-HEAD/desktop/core/ext-py/lxml/ez_setup.py   hue(Download)
    def do_download():
        egg = download_setuptools(version, download_base, to_dir, download_delay)
        sys.path.insert(0, egg)
        import setuptools; setuptools.bootstrap_install_from = egg
    try:
def main(argv, version=DEFAULT_VERSION):
    """Install or upgrade setuptools and EasyInstall"""
    try:
        import setuptools
    except ImportError:

src/l/e/lesswrong-HEAD/r2/ez_setup/__init__.py   lesswrong(Download)
    """
    try:
        import setuptools
        if setuptools.__version__ == '0.0.1':
            print >>sys.stderr, (
        egg = download_setuptools(version, download_base, to_dir, download_delay)
        sys.path.insert(0, egg)
        import setuptools; setuptools.bootstrap_install_from = egg
 
    import pkg_resources
def main(argv, version=DEFAULT_VERSION):
    """Install or upgrade setuptools and EasyInstall"""
 
    try:
        import setuptools

Previous  5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13  Next