diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2014-05-22 07:30:06 -0400 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2014-05-22 13:32:40 +0200 |
commit | c7a0434ba4ce0e83bc179221cd2d5fd583f4bd8b (patch) | |
tree | aa0d7d6faac87b8878707eec23cc08d5d60928a4 /setup.py | |
parent | 426540a5a19ef772ae477ee0a37d4d6f0351c556 (diff) | |
parent | 51bdad571d30c551fb7e1f38813d106304c7daa8 (diff) | |
download | cucutags-c7a0434ba4ce0e83bc179221cd2d5fd583f4bd8b.tar.gz |
Merged #1 "Replace distutils with setuptools (and simplify setup.py)"0.6.1
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 24 |
1 files changed, 2 insertions, 22 deletions
@@ -1,28 +1,8 @@ # coding: utf-8 from __future__ import absolute_import, print_function -from distutils.core import setup, Command +from setuptools import setup import os.path import cucutags -import unittest - - -class RunTests(Command): - """New setup.py command to run all tests for the package. - """ - description = "run all tests for the package" - - user_options = [] - - def initialize_options(self): - pass - - def finalize_options(self): - pass - - def run(self): - tests = unittest.TestLoader().discover('.') - runner = unittest.TextTestRunner(verbosity=2) - runner.run(tests) def read(fname): @@ -38,7 +18,7 @@ setup( author_email='mcepl@redhat.com', url='https://gitorious.org/cucutags/cucutags/', long_description=read("README"), - cmdclass={'test': RunTests}, + test_suite='test', keywords=['BDD', 'behave', 'ctags', 'tags'], classifiers=[ "Programming Language :: Python", |