summaryrefslogtreecommitdiff
path: root/setuptools/tests/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* removed assertTrue/assertFalse occurrencesTarek Ziade2010-05-191-32/+32
| | | | | | --HG-- branch : distribute extra : rebase_source : b7e5bbfa9d90078fd763f728a5d57fb6bd3e3657
* Use assertTrue and assertFalse instead of deprecated failUnless and failIf.0.6.12Arfrever Frehtes Taifersar Arahesis2010-05-061-32/+32
| | | | | | --HG-- branch : distribute extra : rebase_source : 51c527a19483fc1b11084e4d2770d88015588822
* moved api_tests.txt doctest to tests/Tarek Ziadé2009-07-171-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 9ab6aebbc44b3f99f01dc7deb99e4a83de362714
* Changed the testModuleExtract and testRequire tests from DependsTests to use ↵Hanno Schlichting2009-07-161-8/+8
| | | | | | | | the email package instead of distutils as a test base. The distutils package gets too much special treatment, for example in virtualenv environments, which obscure the test results. --HG-- branch : distribute extra : rebase_source : f2addfef7c8ace902512fa9ff1859799e3dcca23
* Fix http://bugs.python.org/setuptools/issue31 (backport from trunk)PJ Eby2008-08-211-9/+5
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065948
* Backport all known 2.5-compatibility fixesPJ Eby2006-09-201-3/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051935
* Added quoting of script arguments and extended the quoting logic toJim Fulton2006-08-221-5/+10
| | | | | | | | | | | | | handle embedded quotes. Added support for passing a single argument on the shebang line to pass things like -O and -i. Fixed bug in handling trailing whitespace in Python command. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051487
* Enhanced test loader to scan packages as well as modules, and callPJ Eby2006-03-281-47/+6
| | | | | | | | ``additional_tests()`` if present to get non-unittest tests. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043412
* Got rid of the no-longer meaningful "depends" command. Consolidated thePJ Eby2005-08-061-41/+0
| | | | | | | | | | | | replacement of the "install" command so that installation is always via easy_install, but doesn't use the previous kludgy intereception technique. Allow ``extra_path`` to be set, but ignore it, so that when easy_install wraps a package that uses it, there won't be any confusion as to the desired installation location. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041181
* Massive API refactoring; see setuptools.txt changelog for details. Also,PJ Eby2005-07-181-8/+8
| | | | | | | | | add ``#egg=project-version`` link support, and docs on how to make your package available for EasyInstall to find. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041135
* Enhanced the ``test`` command so that it doesn't install the package, butPJ Eby2005-07-061-5/+5
| | | | | | | | | | | | | instead builds any C extensions in-place, updates the ``.egg-info`` metadata, adds the source directory to ``sys.path``, and runs the tests directly on the source. This avoids an "unmanaged" installation of the package to ``site-packages`` or elsewhere. (Also, fix a breaking test of older dependency support; this should probably be removed altogether, as long as nobody's using it.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041078
* Rough draft of version requirement parser. Make bdist_egg look for aPJ Eby2005-04-021-6/+6
| | | | | | | | | | | | distname.egg-info directory instead of EGG-INFO.in; this will be used later to support development of egg-distributed packages that an application under development expects to 'require()'. (Thanks to Fred Drake for pointing out this use case, and Bob Ippolito for helping me figure out how to support it, although the runtime support doesn't actually exist yet.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040999
* Back out the addition of bogus 'if __name__=="__main__"' block; the OnePJ Eby2005-04-011-79/+174
| | | | | | | | | Obvious Way to test setuptools is to run 'setup.py test', because that also provides an integration test for the 'test' command. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040998
* remove excess blank lines, and apply whitespace more in line with the PythonFred Drake2004-04-051-166/+71
| | | | | | | | style guidelines in PEP 8 --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040896
* Compute command line that should be passed to child setup scripts.PJ Eby2004-03-221-21/+21
| | | | | | | | | Warn user if unsupported options are supplied, and cancel unless 'depends -i' (aka '--ignore-extra-args') was used. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040880
* Flesh out 'depends' command to display dependencies' status, and halt ifPJ Eby2004-03-201-14/+55
| | | | | | | | | | | | | | | | | | | | | all requirements aren't met. (Also, check planned install location for the dependencies, as well as checking sys.path.) Also: * Allow 'Feature()' objects to include 'Require()' objects, so that dependencies can be optional * 'Require()' objects can set a homepage, whose URL will be displayed by the 'depends' command if the dependency needs to be installed. * Misc. fixes/refactoring of version validation to properly handle "unknown" versions, and to decouple version fetching from version checking. * Updated TODO to remove various completed items. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040876
* Initial checkin of setuptools 0.0.1.PJ Eby2004-03-191-0/+410
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869