{ "info": { "author": "Tres Seaver", "author_email": "tseaver@palladion.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Setuptools Plugin", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Archiving :: Packaging" ], "description": "eggtestinfo README\n==================\n\nOverview\n--------\n\nThis package is a setuptools plugin: it adds a file to the generated\n``.egg-info`` directory, capturing the information used by the\n``setup.py test`` command when running tests.\n\nIn particular, the generated file contains the following information:\n\n``test_module``\n The dotted name of a module holding a ``test_suite`` function which\n can be called to compute a ``unittest.TestSuite`` for the package.\n\n - This option conflicts with ``test_suite``.\n\n - This option can be overridden on the command line, e.g.::\n\n $ python setup.py test --test_module=my_package.tests\n\n``test_suite``\n The dotted name of a function which can be called to compute a\n ``unittest.TestSuite`` for the package.\n \n - This option conflicts with ``test_module``.\n \n - Note that this name does *not* use the same conventions use by other\n setuptools callables: the function name is appended to the dotted\n name of the module with a dot, rather than a colon.\n\n - This option can be overridden on the command line, e.g.::\n\n $ python setup.py test --test_suite=my_package.utils.find_tests\n\n``test_loader``\n A setuptools entry point which, when called, returns an instalance of\n a loader class, suitable for passing as thet ``testLoader`` argument\n to ``unittest.main()``.\n\n - This option cannot be overridden on the command line; it can only\n be specified as an argument to ``setup()``.\n\n``tests_require``\n A list of setuptools requirement specifications for packages which\n must be importable when running the tests.\n\n - This option cannot be overridden on the command line.\n\nUsing the Extension\n-------------------\n\nThe package registers a entrypoint for setuptools' ``egg_info.writers``\ngroup: it will therefore be used when building egg info in any environment\nwhere it is present on the PYTHONPATH.\n\nTo ensure that your packages get the test information recorded, even when\nused from an environment where this package is not already installed,\nadd the following to your call to ``setup()``::\n\n from setuptools import setup\n setup(name='my_package',\n # ...\n setup_requires=['eggtestinfo'],\n #...\n )\n\nExamples\n--------\n\nThe following examples show the generated ``test_info.txt`` file for\nvarious sample packages.\n\n- For a package whose tests are finadable by setuptools' default loader, but\n whose tests depend on another package which is not part of the \"normal\"\n dependencies of the package::\n\n test_module = None\n test_suite = None\n test_loader = None\n tests_require = another_package\n\n- For a package which has a module, 'tests', which contains a 'test_suite'\n function that returns the test suite for the whole package::\n\n test_module = my_package.tests\n test_suite = None\n test_loader = None\n tests_require = None\n\n- For a package which has a function, 'find_tests', in its 'utils' module,\n that returns the test suite for the package::\n\n test_module = None\n test_suite = my_package.utils.find_tests\n test_loader = None\n tests_require = None\n\n- For a package which uses the \"skip layers\" loader from zope.testing::\n\n test_module = None\n test_suite = None\n test_loader = zope.testing.testrunner.eggsupport:SkipLayers\n tests_require = zope.testing>=3.7dev\n\n\neggtestinfo Changelog\n=====================\n\n0.3 (2011-03-10)\n----------------\n\n- Verified / added assertion of Python3 compatibility.\n\n- Added tests.\n\n\n0.2.2 (2008-09-19)\n------------------\n\n- Packaging update: added more extensive docs.\n\n\n0.2.1 (2008-03-09)\n------------------\n\n- Packaging update: add new Trove classifier, 'Framework :: Setuptools Plugin'.\n\n\n0.2 (2007-11-16)\n----------------\n\n- Added 'test_loader' and 'test_module' information to generated file.\n\n\n0.1 (2007-11-15)\n----------------\n\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/eggtestinfo", "keywords": "setuptools eggs testing", "license": "PSF or ZPL", "maintainer": null, "maintainer_email": null, "name": "eggtestinfo", "package_url": "https://pypi.org/project/eggtestinfo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/eggtestinfo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/eggtestinfo" }, "release_url": "https://pypi.org/project/eggtestinfo/0.3/", "requires_dist": null, "requires_python": null, "summary": "Add test information to .egg-info", "version": "0.3" }, "last_serial": 791582, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "91329eba5479e36eb911be26a96751a8", "sha256": "0d01821821369aa32215c96e4c921d5b9cf48d7d909f976b07e8be3e299aca2d" }, "downloads": -1, "filename": "eggtestinfo-0.1.tar.gz", "has_sig": false, "md5_digest": "91329eba5479e36eb911be26a96751a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1681, "upload_time": "2007-11-15T17:08:23", "url": "https://files.pythonhosted.org/packages/ca/a8/c973ba7b07a8b96f76bd66442266be1c011cc2439696b44fd20adbff4da9/eggtestinfo-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "429594e8f41ddad2d53d8c62b45c1d86", "sha256": "116eaf49a18524fd8d2294eeb2f6c046def400afdd081e695f77346c0be44ce8" }, "downloads": -1, "filename": "eggtestinfo-0.2.tar.gz", "has_sig": false, "md5_digest": "429594e8f41ddad2d53d8c62b45c1d86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1927, "upload_time": "2007-11-16T22:10:09", "url": "https://files.pythonhosted.org/packages/4f/d6/b321de50885937d52aca5e745889acb4b36dc9d67bfd1e98bf1b2ffb8f56/eggtestinfo-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "131aa12a157cd041ee4c5283a3002179", "sha256": "a278d5e3f51b529425e40d5ff3e80e8cae0098fc7b6350bb90b92461d295903d" }, "downloads": -1, "filename": "eggtestinfo-0.2.1.tar.gz", "has_sig": false, "md5_digest": "131aa12a157cd041ee4c5283a3002179", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2026, "upload_time": "2008-03-09T22:14:36", "url": "https://files.pythonhosted.org/packages/91/c9/ef1c1c2291c93a8d2bebf58c7623c3722e3c72fd3fc64d6e9cec745f381a/eggtestinfo-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "4d9ce0851f6c8437d0fac546774da5f9", "sha256": "b337013688805fdc816813ee8c55a8209ae1a710eee1c21f756457883bfc0b35" }, "downloads": -1, "filename": "eggtestinfo-0.2.2.tar.gz", "has_sig": false, "md5_digest": "4d9ce0851f6c8437d0fac546774da5f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3345, "upload_time": "2008-09-19T18:06:24", "url": "https://files.pythonhosted.org/packages/b6/33/ce341b9a3898d24055b8aa8aeaf0a36397481cb71bd37ee3080f56f51e8c/eggtestinfo-0.2.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "6f0507aee05f00c640c0d64b5073f840", "sha256": "4f4b49d2d1c57f1c99008eb2a2bc66926605b72b2ba2a489b6f429b4b59de768" }, "downloads": -1, "filename": "eggtestinfo-0.3.tar.gz", "has_sig": false, "md5_digest": "6f0507aee05f00c640c0d64b5073f840", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3958, "upload_time": "2011-03-10T20:55:15", "url": "https://files.pythonhosted.org/packages/e0/8e/77c064957ea14137407e29abd812160eafc41b73a377c30d9e22d76f14fd/eggtestinfo-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f0507aee05f00c640c0d64b5073f840", "sha256": "4f4b49d2d1c57f1c99008eb2a2bc66926605b72b2ba2a489b6f429b4b59de768" }, "downloads": -1, "filename": "eggtestinfo-0.3.tar.gz", "has_sig": false, "md5_digest": "6f0507aee05f00c640c0d64b5073f840", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3958, "upload_time": "2011-03-10T20:55:15", "url": "https://files.pythonhosted.org/packages/e0/8e/77c064957ea14137407e29abd812160eafc41b73a377c30d9e22d76f14fd/eggtestinfo-0.3.tar.gz" } ] }