示例#1
0
			"Intended Audience :: Developers",
			"License :: OSI Approved :: MIT License",
			"Operating System :: OS Independent",
			"Programming Language :: Python",
			"Programming Language :: Python :: 2",
			"Programming Language :: Python :: 2.7",
			"Programming Language :: Python :: 3",
			"Programming Language :: Python :: 3.3",
			"Programming Language :: Python :: 3.4",
			"Programming Language :: Python :: Implementation :: CPython",
			"Programming Language :: Python :: Implementation :: PyPy",
			"Topic :: Software Development :: Libraries :: Python Modules",
			"Topic :: Utilities"
		],
	
	packages = find_packages(exclude=['test', 'example']),
	include_package_data = True,
	package_data = {'': ['README.rst', 'LICENSE.txt']},
	namespace_packages = ['marrow'],
	
	install_requires = [],
	
	extras_require = dict(
			development = tests_require,
		),
	
	tests_require = tests_require,
	
	zip_safe = False,
	cmdclass = dict(
			test = PyTest,
示例#2
0
     "Environment :: Web Environment",
     "Intended Audience :: Developers",
     "License :: OSI Approved :: MIT License",
     "Operating System :: OS Independent",
     "Programming Language :: Python",
     "Programming Language :: Python :: 2",
     "Programming Language :: Python :: 2.7",
     "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.3",
     "Programming Language :: Python :: 3.4",
     "Programming Language :: Python :: Implementation :: CPython",
     "Programming Language :: Python :: Implementation :: PyPy",
     "Topic :: Internet :: WWW/HTTP :: WSGI",
     "Topic :: Software Development :: Libraries :: Python Modules",
 ],
 packages=find_packages(exclude=['bench', 'docs', 'example', 'test']),
 include_package_data=True,
 namespace_packages=[
     'web',  # primary namespace
     'web.dispatch',  # extensible dispatch mechanisms
 ],
 entry_points={
     'web.dispatch': [
         'object = web.dispatch.object:ObjectDispatch',
     ],
 },
 install_requires=[
     'marrow.package<2.0',  # dynamic execution and plugin management
     'WebOb',  # HTTP request and response objects, and HTTP status code exceptions
 ],
 extras_require=dict(development=tests_require, ),
示例#3
0
			"Programming Language :: Python",
			"Programming Language :: Python :: 2",
			"Programming Language :: Python :: 2.7",
			"Programming Language :: Python :: 3",
			"Programming Language :: Python :: 3.2",
			"Programming Language :: Python :: 3.3",
			"Programming Language :: Python :: 3.4",
			"Programming Language :: Python :: 3.5",
			"Programming Language :: Python :: 3.6",
			"Programming Language :: Python :: Implementation :: CPython",
			"Programming Language :: Python :: Implementation :: PyPy",
			"Topic :: Software Development :: Libraries :: Python Modules",
			"Topic :: Utilities"
		],
	
	packages = find_packages(exclude=['test', 'htmlcov']),
	include_package_data = True,
	package_data = {'': ['README.rst', 'LICENSE.txt']},
	zip_safe = False,
	
	# ## Dependency Declaration
	
	setup_requires = [
			'pytest-runner',
		] if {'pytest', 'test', 'ptr'}.intersection(sys.argv) else [],
	
	install_requires = [
			'pathlib2; python_version < "3.4"',  # Path manipulation utility.
		],
	
	extras_require = dict(
示例#4
0
			"Intended Audience :: Developers",
			"License :: OSI Approved :: MIT License",
			"Operating System :: OS Independent",
			"Programming Language :: Python",
			"Programming Language :: Python :: 2",
			"Programming Language :: Python :: 2.7",
			"Programming Language :: Python :: 3",
			"Programming Language :: Python :: 3.3",
			"Programming Language :: Python :: 3.4",
			"Programming Language :: Python :: Implementation :: CPython",
			"Programming Language :: Python :: Implementation :: PyPy",
			"Topic :: Internet :: WWW/HTTP :: WSGI",
			"Topic :: Software Development :: Libraries :: Python Modules",
		],
	
	packages = find_packages(exclude=['bench', 'docs', 'example', 'test']),
	include_package_data = True,
	namespace_packages = [
			'web',  # primary namespace
			'web.component',  # contentment pluggable components
			'web.component.page',  # do not use
			'web.component.page.block',  # embeddable blocks
		],
	
	entry_points = {
			'web.component': [
					'core.page = web.component.page.component:PageComponent',
				],
			
			# Individual blocks within a page layout may have independent controllers.
			'web.page.block': [
示例#5
0
文件: setup.py 项目: djdduty/mongo
			"Operating System :: OS Independent",
			"Programming Language :: Python",
			"Programming Language :: Python :: 2",
			"Programming Language :: Python :: 2.7",
			"Programming Language :: Python :: 3",
			"Programming Language :: Python :: 3.2",
			"Programming Language :: Python :: 3.3",
			"Programming Language :: Python :: 3.4",
			"Programming Language :: Python :: 3.5",
			"Programming Language :: Python :: Implementation :: CPython",
			"Programming Language :: Python :: Implementation :: PyPy",
			"Topic :: Software Development :: Libraries :: Python Modules",
			"Topic :: Utilities"
		],
	
	packages = find_packages(exclude=['test', 'example', 'benchmark', 'htmlcov']),
	include_package_data = True,
	package_data = {'': ['README.rst', 'LICENSE.txt']},
	namespace_packages = ['marrow', 'marrow.mongo', 'marrow.mongo.field', 'web', 'web.db'],
	
	# ## Dependency Declaration
	
	install_requires = [
			'marrow.schema>=1.2.0,<2.0.0',  # Declarative schema support.
			'marrow.package>=1.1.0,<2.0.0',  # Plugin discovery and loading.
			'pymongo>=3.2',  # We require modern API.
		],
	
	extras_require = dict(
			development = tests_require,
			scripting = ['javascripthon<1.0'],  # Allow map/reduce functions and "stored functions" to be Python.
示例#6
0
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Utilities",
    ],
    packages=find_packages(exclude=['examples', 'tests']),
    include_package_data=True,
    package_data={'': ['README.textile', 'LICENSE.txt']},
    namespace_packages=['marrow'],

    # ## Dependency Declaration
    install_requires=[
        'marrow.util < 2.0',
    ],
    extras_require={
        ":python_version<'3.0.0'": ['futures'],
        'develop': tests_require,
    },
    tests_require=tests_require,

    # ## Plugin Registration
示例#7
0
     "Intended Audience :: Developers",
     "License :: OSI Approved :: MIT License",
     "Operating System :: OS Independent",
     "Programming Language :: Python",
     "Programming Language :: Python :: 2",
     "Programming Language :: Python :: 2.7",
     "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.2",
     "Programming Language :: Python :: 3.3",
     "Programming Language :: Python :: 3.4",
     "Programming Language :: Python :: 3.5",
     "Programming Language :: Python :: Implementation :: CPython",
     "Programming Language :: Python :: Implementation :: PyPy",
     "Topic :: Software Development :: Libraries :: Python Modules",
 ],
 packages=find_packages(exclude=['example', 'test']),
 include_package_data=True,
 namespace_packages=[
     'web',  # primary namespace
     'web.ext',  # framework extensions
 ],
 entry_points={
     'web.extension': [
         'acl = web.ext.acl:ACLExtension',  # Access control list validation.
     ],
     'web.security.predicate': [
         'not = web.security.predicate:Not',
         'always = web.security.predicate:always',
         'never = web.security.predicate:never',
         'first = web.security.predicate:First',
         'all = web.security.predicate:All',
示例#8
0
     'redirection', '302'
 ],
 classifiers=[
     "Intended Audience :: Developers",
     "License :: OSI Approved :: MIT License",
     "Operating System :: OS Independent", "Programming Language :: Python",
     "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.4",
     "Programming Language :: Python :: 3.5",
     "Programming Language :: Python :: 3.6",
     "Programming Language :: Python :: Implementation :: CPython",
     "Programming Language :: Python :: Implementation :: PyPy",
     "Topic :: Software Development :: Libraries :: Python Modules",
     "Topic :: Utilities"
 ],
 packages=find_packages(
     exclude=['test', 'example', 'benchmark', 'htmlcov']),
 include_package_data=True,
 package_data={'': ['README.rst', 'LICENSE.txt']},
 namespace_packages=['web', 'web.app'],
 zip_safe=False,
 setup_requires=[
     'pytest-runner',
 ] if {'pytest', 'test', 'ptr'}.intersection(sys.argv) else [],
 install_requires=[
     'marrow.package>=1.1.0,<2.0.0',  # Plugin discovery and loading.
     'marrow.mongo[logger]>=1.1.2,<2.0.0',  # Database Access Object layer.
     'WebCore>=2.0.0,<3.0.0',  # Underlying web framework.
     'web.dispatch.resource>=2.0.0,<3.0.0',  # URL to endpoint lookup mechanism.
     'web.db>=2.0.1,<3.0.0',  # Framework integration for database access.
     'uri>=2.0.0,<3.0.0',  # Generic URI datastructure.
     'cinje>=1.1.0,<1.2.0',  # Template engine domain-specific language (DSL).
示例#9
0
			"Environment :: Console",
			"Intended Audience :: Developers",
			"License :: OSI Approved :: MIT License",
			"Operating System :: OS Independent",
			"Programming Language :: Python",
			"Programming Language :: Python :: 2.7",
			"Programming Language :: Python :: 3",
			"Programming Language :: Python :: 3.2",
			"Programming Language :: Python :: 3.3",
			"Programming Language :: Python :: 3.4",
			"Programming Language :: Python :: Implementation :: CPython",
			"Programming Language :: Python :: Implementation :: PyPy",
			"Topic :: Software Development :: Libraries :: Python Modules"
		],
	
	packages = find_packages(exclude=['test', 'script', 'example']),
	include_package_data = True,
	namespace_packages = ['marrow'],
	
	install_requires = ['ordereddict'] if sys.version_info < (2, 7) else [],
	
	extras_require = dict(
			development = tests_require,
		),
	
	tests_require = tests_require,
	
	zip_safe = False,
	cmdclass = dict(
			test = PyTest,
		)
示例#10
0
    keywords="",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=find_packages(exclude=["bench", "docs", "example", "test"]),
    include_package_data=True,
    namespace_packages=["web", "web.dispatch"],  # primary namespace  # extensible dispatch mechanisms
    entry_points={"web.dispatch": ["transition = web.dispatch.meta:TransitionDispatch"]},
    install_requires=[],
    extras_require=dict(development=tests_require),
    tests_require=tests_require,
    dependency_links=[],
    zip_safe=True,
    cmdclass=dict(test=PyTest),
)
示例#11
0
    url=url,
    author=author.name,
    author_email=author.email,
    license="MIT",
    keywords="",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=find_packages(exclude=["test", "script", "example"]),
    include_package_data=True,
    namespace_packages=["marrow"],
    install_requires=["ordereddict"] if sys.version_info < (2, 7) else [],
    extras_require=dict(development=tests_require),
    tests_require=tests_require,
    zip_safe=False,
    cmdclass=dict(test=PyTest),
)
示例#12
0
 classifiers=[
     "Development Status :: 5 - Production/Stable",
     "Environment :: Console",
     "Intended Audience :: Developers",
     "License :: OSI Approved :: MIT License",
     "Operating System :: OS Independent",
     "Programming Language :: Python",
     "Programming Language :: Python :: 2.6",
     "Programming Language :: Python :: 2.7",
     "Programming Language :: Python :: 3.3",
     "Programming Language :: Python :: 3.4",
     "Programming Language :: Python :: 3.5",
     "Topic :: Software Development :: Libraries :: Python Modules",
     "Topic :: Utilities",
 ],
 packages=find_packages(exclude=["examples", "tests"]),
 include_package_data=True,
 package_data={"": ["README.textile", "LICENSE.txt"]},
 namespace_packages=["marrow"],
 # ## Dependency Declaration
 install_requires=["marrow.util < 2.0"],
 extras_require={":python_version<'3.0.0'": ["futures"], "develop": tests_require},
 tests_require=tests_require,
 # ## Plugin Registration
 entry_points={
     "marrow.mailer.manager": [
         "immediate = marrow.mailer.manager.immediate:ImmediateManager",
         "futures = marrow.mailer.manager.futures:FuturesManager",
         "dynamic = marrow.mailer.manager.dynamic:DynamicManager",
         # 'transactional = marrow.mailer.manager.transactional:TransactionalDynamicManager'
     ],
示例#13
0
文件: setup.py 项目: marrow/mailer
				"Development Status :: 5 - Production/Stable",
				"Environment :: Console",
				"Intended Audience :: Developers",
				"License :: OSI Approved :: MIT License",
				"Operating System :: OS Independent",
				"Programming Language :: Python",
				"Programming Language :: Python :: 2.6",
				"Programming Language :: Python :: 2.7",
				"Programming Language :: Python :: 3.3",
				"Programming Language :: Python :: 3.4",
				"Programming Language :: Python :: 3.5",
				"Topic :: Software Development :: Libraries :: Python Modules",
				"Topic :: Utilities",
			],
		
		packages = find_packages(exclude=['examples', 'tests']),
		include_package_data = True,
		package_data = {'': ['README.textile', 'LICENSE.txt']},
		namespace_packages = ['marrow'],
		
		# ## Dependency Declaration
		
		install_requires = [
				'marrow.util < 2.0',
			],
		
		extras_require = {
				":python_version<'3.0.0'": ['futures'],
				'develop': tests_require,
				'requests': ['requests'],
			},
示例#14
0
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=find_packages(exclude=['documentation', 'example', 'test']),
    include_package_data=True,
    namespace_packages=[
        'web',  # primary namespace
        'web.app',  # reusable components
        'web.command',  # extensible command-line interface and scripts
        'web.ext',  # frameowrk extensions
    ],
    entry_points={
        # WebCore reusable application components.
        'web.app': [
            'locale.settings = web.app.locale.settings:LocaleSettings',  # "User Preferences" data endpoints.
            'locale.console = web.app.locale.console:LocaleConsole',  # Web-based message catalog management.
        ],

        # WebCore extension registration.