Tres Seaver
2012-03-19 10fb6b8fa94f9850b91a2ede845edfd81f4c8da9
Add mcdonc's 'setup.py dev' goodness.
2 files modified
13 ■■■■ changed files
setup.cfg 3 ●●●●● patch | view | raw | blame | history
setup.py 10 ●●●● patch | view | raw | blame | history
setup.cfg
@@ -6,3 +6,6 @@
cover-package=repoze.who
with-coverage=1
cover-erase=1
[aliases]
dev = develop easy_install repoze.who[testing]
setup.py
@@ -19,6 +19,8 @@
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
tests_require = ['WebOb', 'zope.interface']
testing_extras = tests_require + ['nose', 'coverage']
setup(name='repoze.who',
      version='2.1dev',
@@ -44,7 +46,7 @@
      include_package_data=True,
      namespace_packages=['repoze', 'repoze.who', 'repoze.who.plugins'],
      zip_safe=False,
      tests_require = ['WebOb', 'zope.interface'],
      tests_require = tests_require,
      install_requires=['WebOb', 'zope.interface', 'setuptools'],
      test_suite="repoze.who",
      entry_points = """\
@@ -53,6 +55,8 @@
      config = repoze.who.config:make_middleware_with_config
      predicate = repoze.who.restrict:make_predicate_restriction
      authenticated = repoze.who.restrict:make_authenticated_restriction
      """
      """,
      extras_require = {
        'testing': testing_extras,
      },
)