Changeset 5085

Show
Ignore:
Timestamp:
08/04/08 04:02:03 (4 months ago)
Author:
alberto
Message:

added some metadata to setup.py and setup.cfg to aid in testing

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/setup.cfg

    r4271 r5085  
     1[aliases] 
     2# A handy alias to make a release to pypi 
     3release = egg_info -RDb "" sdist bdist_egg register upload 
     4# A handy alias to run tests with a covergae report 
     5cover = nosetests --with-coverage 
     6 
    17[egg_info] 
    28tag_build = dev 
     
    713verbosity=2 
    814detailed-errors=1 
     15# Enable with-coverage manually in the CLI args to see coverage results 
     16with-coverage=False 
     17cover-package=tg 
    918#with-doctest=True 
    1019attr=!broken 
  • trunk/setup.py

    r5076 r5085  
    33execfile(os.path.join(here, 'tg', 'release.py')) 
    44from setuptools import find_packages, setup 
     5 
     6test_requirements = ["nose", "TurboKid", "TurboJson", "coverage"] 
    57 
    68setup( 
     
    2931    ], 
    3032    extras_require={ 
    31         'core-testing':["nose", "TurboKid", "TurboJson"] 
     33        #XXX: Perhaps this 'core-testing' extras_require can be removed 
     34        #     since tests_require takes care of that as long as TG is tested  
     35        #     with 'python setup.py test' (which we should IMHO so setuptools 
     36        #     can take care of these details for us) 
     37        'core-testing':test_requirements, 
    3238    }, 
     39    test_suite='nose.collector', 
     40    tests_require = test_requirements, 
    3341    entry_points=''' 
    3442        [paste.global_paster_command]