Permalink
Browse files

Add mock test requirement, and split out test_requires

  • Loading branch information...
1 parent 3448afc commit ae5ecfff066a49e2f228ea06ae827507ffc4d5c3 @dnouri dnouri committed Mar 30, 2012
Showing with 13 additions and 4 deletions.
  1. +3 −0 setup.cfg
  2. +10 −4 setup.py
View
@@ -1,6 +1,9 @@
[easy_install]
zip_ok = false
+[aliases]
+dev = develop easy_install pyramid_deform[testing]
+
[nosetests]
match=^test
where=pyramid_deform
View
@@ -12,7 +12,7 @@
#
##############################################################################
-__version__ = '0.2'
+__version__ = '0.2a3dev'
import os
@@ -27,6 +27,10 @@
'deform>=0.8.1' # button disabled arg
]
+tests_require = [
+ 'mock',
+ ]
+
setup(name='pyramid_deform',
version=__version__,
description=('Bindings to the Deform form library for the Pyramid web '
@@ -45,10 +49,12 @@
packages=find_packages(),
include_package_data=True,
zip_safe=False,
- tests_require = install_requires,
+ tests_require = tests_require,
install_requires = install_requires,
test_suite="pyramid_deform",
entry_points = """\
- """
+ """,
+ extras_require = {
+ 'testing': tests_require,
+ },
)
-

0 comments on commit ae5ecff

Please sign in to comment.