Browse Source

use setup.py test. This fixes #56

pull/124/head
Armin Ronacher 15 years ago
parent
commit
707b30749d
  1. 2
      Makefile
  2. 10
      setup.py

2
Makefile

@ -3,7 +3,7 @@
all: clean-pyc test
test:
python tests/flask_tests.py
python setup.py test
release:
python setup.py release sdist upload

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…
Cancel
Save