forked from orbit-oss/flask
use setup.py test. This fixes #56
This commit is contained in:
parent
a6617f44c0
commit
707b30749d
2 changed files with 10 additions and 2 deletions
10
setup.py
10
setup.py
|
|
@ -41,6 +41,13 @@ Links
|
|||
from setuptools import setup
|
||||
|
||||
|
||||
def run_tests():
|
||||
import os, sys
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), 'tests'))
|
||||
from flask_tests import suite
|
||||
return suite()
|
||||
|
||||
|
||||
setup(
|
||||
name='Flask',
|
||||
version='0.4',
|
||||
|
|
@ -67,5 +74,6 @@ setup(
|
|||
'Programming Language :: Python',
|
||||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules'
|
||||
]
|
||||
],
|
||||
test_suite='__main__.run_tests'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue