-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
327 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,93 @@ | ||
# -*- coding: utf-8 -*- | ||
import os | ||
import os.path | ||
import sys | ||
from setuptools import setup, find_packages | ||
|
||
version = '4.1.0.dev0' | ||
|
||
install_requires = ['setuptools', | ||
'zope.testing', | ||
] | ||
install_requires = [ | ||
'setuptools', | ||
'zope.testing', | ||
] | ||
|
||
|
||
if sys.version_info < (2, 7): | ||
install_requires.append('unittest2') | ||
|
||
tests_require = ['zope.component', | ||
'zope.interface', | ||
'zope.publisher', | ||
'zope.security', | ||
'zope.event', | ||
'zope.configuration', | ||
'zope.testbrowser', | ||
'zope.testrunner', | ||
'zope.app.publisher', # XXX: Can probably go away in Zope 2.13 | ||
'ZODB3', | ||
'Zope2', | ||
] | ||
tests_require = [ | ||
'zope.component', | ||
'zope.interface', | ||
'zope.publisher', | ||
'zope.security', | ||
'zope.event', | ||
'zope.configuration', | ||
'zope.testbrowser', | ||
'zope.testrunner', | ||
'zope.app.publisher', # XXX: Can probably go away in Zope 2.13 | ||
'ZODB3', | ||
'Zope2', | ||
] | ||
|
||
setup(name='plone.testing', | ||
version=version, | ||
description="Testing infrastructure for Zope and Plone projects.", | ||
long_description=(open(os.path.join("src", "plone", "testing", "README.rst")).read() + "\n\n" + | ||
open("CHANGES.rst").read() + "\n\n" + | ||
"Detailed documentation\n" + | ||
"======================\n\n" + | ||
open(os.path.join("src", "plone", "testing", "layer.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "zca.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "security.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "publisher.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "zodb.txt")).read()), | ||
classifiers=[ | ||
"Environment :: Web Environment", | ||
"Framework :: Plone", | ||
"Framework :: Plone :: 4.2", | ||
"Framework :: Plone :: 4.3", | ||
"Framework :: Plone :: 5.0", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", | ||
"License :: OSI Approved :: BSD License", | ||
], | ||
keywords='plone zope testing', | ||
author='Plone Foundation', | ||
author_email='plone-developers@lists.sourceforge.net', | ||
url='https://github.com/plone/plone.testing', | ||
license='BSD', | ||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
namespace_packages=['plone'], | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=install_requires, | ||
tests_require=tests_require, | ||
extras_require={ | ||
'test': tests_require, | ||
'zodb': [ | ||
'ZODB3', | ||
], | ||
'zca': [ | ||
'zope.component', | ||
'zope.event', | ||
'zope.configuration', | ||
], | ||
'security': [ | ||
'zope.security', | ||
], | ||
'publisher': [ | ||
'zope.configuration', | ||
'zope.security', | ||
'zope.app.publisher', # XXX: Can probably go away in Zope 2.13 | ||
], | ||
'z2': [ | ||
'Zope2', | ||
'zope.site', | ||
'zope.testbrowser', | ||
'zope.publisher', | ||
], | ||
}, | ||
) | ||
setup( | ||
name='plone.testing', | ||
version=version, | ||
description="Testing infrastructure for Zope and Plone projects.", | ||
long_description=(open(os.path.join("src", "plone", "testing", "README.rst")).read() + "\n\n" + | ||
open("CHANGES.rst").read() + "\n\n" + | ||
"Detailed documentation\n" + | ||
"======================\n\n" + | ||
open(os.path.join("src", "plone", "testing", "layer.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "zca.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "security.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "publisher.txt")).read() + "\n\n" + | ||
open(os.path.join("src", "plone", "testing", "zodb.txt")).read()), | ||
classifiers=[ | ||
"Environment :: Web Environment", | ||
"Framework :: Plone", | ||
"Framework :: Plone :: 4.2", | ||
"Framework :: Plone :: 4.3", | ||
"Framework :: Plone :: 5.0", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", | ||
"License :: OSI Approved :: BSD License", | ||
], | ||
keywords='plone zope testing', | ||
author='Plone Foundation', | ||
author_email='plone-developers@lists.sourceforge.net', | ||
url='https://github.com/plone/plone.testing', | ||
license='BSD', | ||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
namespace_packages=['plone'], | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=install_requires, | ||
tests_require=tests_require, | ||
extras_require={ | ||
'test': tests_require, | ||
'zodb': ['ZODB3'], | ||
'zca': [ | ||
'zope.component', | ||
'zope.event', | ||
'zope.configuration', | ||
], | ||
'security': [ | ||
'zope.security', | ||
], | ||
'publisher': [ | ||
'zope.configuration', | ||
'zope.security', | ||
'zope.app.publisher', # XXX: Can probably go away in Zope 2.13 | ||
], | ||
'z2': [ | ||
'Zope2', | ||
'zope.site', | ||
'zope.testbrowser', | ||
'zope.publisher', | ||
], | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
__import__('pkg_resources').declare_namespace(__name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# Convenience imports | ||
|
||
from plone.testing.layer import ( | ||
Layer, | ||
layered | ||
) | ||
from plone.testing.layer import Layer # noqa | ||
from plone.testing.layer import layered # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.