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

All Samples(13826)  |  Call(6567)  |  Derive(0)  |  Import(7259)
Return a list all Python packages found within directory 'where'

'where' should be supplied as a "cross-platform" (i.e. URL-style) path; it
will be converted to the appropriate local path syntax.  'exclude' is a
sequence of package names to exclude; '*' can be used as a wildcard in the
names, such that 'foo.*' will exclude all subpackages of 'foo' (but not
'foo' itself).

        def find_packages(where='.', exclude=()):
    """Return a list all Python packages found within directory 'where'

    'where' should be supplied as a "cross-platform" (i.e. URL-style) path; it
    will be converted to the appropriate local path syntax.  'exclude' is a
    sequence of package names to exclude; '*' can be used as a wildcard in the
    names, such that 'foo.*' will exclude all subpackages of 'foo' (but not
    'foo' itself).
    """
    out = []
    stack=[(convert_path(where), '')]
    while stack:
        where,prefix = stack.pop(0)
        for name in os.listdir(where):
            fn = os.path.join(where,name)
            if ('.' not in name and os.path.isdir(fn) and
                os.path.isfile(os.path.join(fn,'__init__.py'))
            ):
                out.append(prefix+name); stack.append((fn,prefix+name+'.'))
    for pat in list(exclude)+['ez_setup']:
        from fnmatch import fnmatchcase
        out = [item for item in out if not fnmatchcase(item,pat)]
    return out
        


src/p/y/pylive-HEAD/example/i_pylons/setup.py   pylive(Download)
try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages
 
        "SQLAlchemy>=0.5",
    ],
    setup_requires=["PasteScript>=1.6.3"],
    packages=find_packages(exclude=['ez_setup']),
    include_package_data=True,
    test_suite='nose.collector',
    package_data={'i_pylons': ['i18n/*/LC_MESSAGES/*.mo']},

src/c/o/cogen-0.2.1/examples/cogen-irc/CogenIrcApp/setup.py   cogen(Download)
try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages
 
    author_email='',
    #url='',
    install_requires=["Pylons>=0.9.6"],
    packages=find_packages(exclude=['ez_setup']),
    include_package_data=True,
    test_suite='nose.collector',
    package_data={'cogenircapp': ['i18n/*/LC_MESSAGES/*.mo']},

src/c/o/cogen-0.2.1/examples/cogen-chat/ChatApp/setup.py   cogen(Download)
try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages
 
    author_email='',
    #url='',
    install_requires=["Pylons"],
    packages=find_packages(exclude=['ez_setup']),
    include_package_data=True,
    test_suite='nose.collector',
    package_data={'chatapp': ['i18n/*/LC_MESSAGES/*.mo']},

src/g/u/gunicorn-0.11.1/examples/frameworks/pylonstest/setup.py   gunicorn(Download)
try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages
 
        "Pylons>=0.9.7",
    ],
    setup_requires=["PasteScript>=1.6.3"],
    packages=find_packages(exclude=['ez_setup']),
    include_package_data=True,
    test_suite='nose.collector',
    package_data={'pylonstest': ['i18n/*/LC_MESSAGES/*.mo']},

src/c/o/cogen-0.2.1/examples/paste_integration_testapp/InputApp/setup.py   cogen(Download)
from setuptools import setup, find_packages
import sys, os
 
version = '0.0'
 
setup(name='InputApp',
      version=version,
      author_email='',
      url='',
      license='',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[

src/c/o/cogen-0.2.1/examples/paste_helloworld_app/HelloWorld/setup.py   cogen(Download)
from setuptools import setup, find_packages
import sys, os
 
version = '0.1'
 
setup(name='HelloWorld',
      version=version,
      author_email='',
      url='',
      license='',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[

src/r/e/restish-0.11/examples/repoze.who/setup.py   restish(Download)
from setuptools import setup, find_packages
import sys, os
 
version = '0.0'
 
setup(name='example',
      version=version,
      author_email='',
      url='',
      license='',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[

src/p/r/Products.FacultyStaffDirectory-2.1.4/Products/FacultyStaffDirectory/examples/Products.MobilePhoneExtender/setup.py   Products.FacultyStaffDirectory(Download)
from setuptools import setup, find_packages
import os
 
version = open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'Products', 'MobilePhoneExtender', 'version.txt')).read().strip()
if version.endswith('dev'):
    version = version[:-3]
 
      author_email='support@weblion.psu.edu',
      url='',
      license='GPL',
      packages=find_packages(exclude=['ez_setup']),
      namespace_packages=['Products'],
      include_package_data=True,
      zip_safe=False,

src/s/i/SimpleExampleEgg-0.2/setup.py   SimpleExampleEgg(Download)
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
#
setup(name = "SimpleExampleEgg",
    version = "0.2",
    description = "test",
    author = "Todd Greenwood",
    author_email = "t.greenwoodgeer@gmail.com",
	entry_points = {'console_scripts': [
		'make_apple_pie = fruit.apple:doConsole'
		]},
    packages = find_packages(exclude=['ez_setup'] ),

src/c/2/c2.sample.csvworkflow-1.1/setup.py   c2.sample.csvworkflow(Download)
from setuptools import setup, find_packages
import os
 
version = '1.1'
 
setup(name='c2.sample.csvworkflow',
      version=version,
      author_email='tokinotsubasa@gmail.com',
      url='http://svn.plone.org/svn/collective/',
      license='GPL',
      packages=find_packages(exclude=['ez_setup']),
      namespace_packages=['c2', 'c2.sample'],
      include_package_data=True,
      zip_safe=False,

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