Did I find the right examples for you? yes no

All Samples(117)  |  Call(61)  |  Derive(0)  |  Import(56)
A subset of the distribution that can be excluded if unneeded/wanted

Features are created using these keyword arguments:

  'description' -- a short, human readable description of the feature, to
     be used in error messages, and option help messages.

  'standard' -- if true, the feature is included by default if it is
     available on the current system.  Otherwise, the feature is only
     included if requested via a command line '--with-X' option, or if(more...)

src/p/y/PyTAPS-1.4/setup.py   PyTAPS(Download)
ez_setup.use_setuptools()
 
from setuptools import setup, Command, Extension, Feature
from setuptools import Distribution as _Distribution
from distutils.errors import DistutilsOptionError
 
iMesh = Feature(
    'iMesh interface',
    standard = True,
    test_suites = ['test.imesh'],
 
iMeshExtensions = Feature(
    'iMesh interface extensions',
    standard = True,
    require_features = ['iMesh'],
 
iGeom = Feature(
    'iGeom interface',
    standard = True,
    test_suites = ['test.igeom'],
 
iRel = Feature(
    'iRel interface',
    standard = True,
    require_features = ['iMesh', 'iGeom'],

src/p/y/pypentago-HEAD/src/setup.py   pypentago(Download)
import optparse
 
from setuptools import setup, Extension, Distribution, Feature
from distutils import sysconfig
 
    py_modules=['actions', 'depr'],
    features=dict(
        client=Feature('GUI client',
            standard=True,
            entry_points={
            install_requires=depends(['PyQt4'])
        ),
        server=Feature('network server',
            standard=True,
            entry_points={
            install_requires=depends(['sqlalchemy'])
        ),
        speedups=Feature('optional C speed-enhancements',
            standard=enable_speedups,
            ext_modules=[board_speedup],

src/p/e/pebl-1.0.2/setup.py   pebl(Download)
import ez_setup
ez_setup.use_setuptools()
 
from setuptools import setup, find_packages, Extension, Feature
from distutils.command.build_ext import build_ext
# C extension modules (as an optional feature)
speedymodules = Feature(
    "Optional speedier C modules.",
    standard = True,
    ext_modules = [

src/z/o/zope.proxy-4.1.1/setup.py   zope.proxy(Download)
import platform
 
from setuptools import setup, Extension, Feature
 
def read(*rnames):
    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
Cwrapper = Feature(
    "C wrapper",

src/a/m/AmFast-0.5.3-r541/setup.py   AmFast(Download)
use_setuptools()
 
from setuptools import setup, Feature
 
from distutils.core import setup, Extension
 
extensions = Feature(
    "AMF encoder/decoder C extension.",
    standard = True,
    optional = True,

src/c/f/cffi-0.5/setup.py   cffi(Download)
 
if __name__ == '__main__':
  from setuptools import setup, Feature, Extension
  setup(
    name='cffi',
    features={
        'cextension': Feature(
            "fast c backend for cpython",
            standard='__pypy__' not in sys.modules,
            ext_modules=[

src/g/o/google-app-engine-HEAD/lib/markupsafe-0.15/setup.py   google-app-engine(Download)
import os
import sys
from setuptools import setup, Extension, Feature
from distutils.command.build_ext import build_ext
from distutils.errors import CCompilerError, DistutilsExecError, \
 
speedups = Feature(
    'optional C speed-enhancement module',
    standard=True,
    ext_modules = [

src/g/o/google-app-engine-HEAD/lib/jinja2-2.6/setup.py   google-app-engine(Download)
import sys
 
from setuptools import setup, Extension, Feature
 
debugsupport = Feature(
    'optional C debug support',

src/p/o/polinax-HEAD/libs/external_libs/simplejson-1.9.1/setup.py   polinax(Download)
    use_setuptools()
 
from setuptools import setup, find_packages, Extension, Feature
from distutils.command.build_ext import build_ext
from distutils.errors import CCompilerError, DistutilsExecError, \
 
speedups = Feature(
    "options C speed-enhancement modules",
    standard=True,
    ext_modules = [

src/e/x/experimental.btree-1.1/setup.py   experimental.btree(Download)
from os.path import join
from setuptools import setup, find_packages, Extension, Feature
 
version = '1.1'
 
base = join('experimental', 'btree')
 
codeoptimization = Feature("Optional code optimizations",

  1 | 2 | 3 | 4 | 5 | 6  Next