summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add test capturing failure when find_packages no longer follows symlinks. ↵Jason R. Coombs2014-05-031-0/+25
| | | | | | | Ref #195 --HG-- extra : amend_source : 4efa6b87d3acaefebdfcc953e78a452ffc1f160d
* Add test capturing overmatching in new find_packages. Ref #184.Jason R. Coombs2014-04-071-0/+11
|
* Skip this test because it now fails under Python 3.3 and earlier apparently ↵Jason R. Coombs2014-03-301-0/+4
| | | | due to a bug in the inspect module. Since the test passes under Python 3.4 and later, that should still serve as a suitable regression test.
* Add test for excludeJason R. Coombs2014-03-221-0/+5
|
* Created PEP420PackageFinder, whose .find method can be used to find any ↵Jason R. Coombs2014-03-221-16/+7
| | | | suitable directory.
* Check packages without deference to orderJason R. Coombs2014-03-161-5/+8
|
* Use py26compat for skipIfJason R. Coombs2014-03-161-6/+7
|
* Add support for PEP 420 namespace packages to find_packages()Wyatt Lee Baldwin2014-02-121-0/+38
| | | | | | | | | | | On Python 3.3+, `find_packages()` now considers any subdirectory of the start directory that's not a regular package (i.e., that doesn't have an `__init__.py`) to be a namespace package. The other way this supports PEP 420 is by making sure `__pycache__` directories are never added to the list of packages. Fixes issue #97
* Update test for Python 2.6 compatibilityJason R. Coombs2014-03-161-1/+1
|
* Add test for find_packages(include=)Jason R. Coombs2014-03-161-0/+10
| | | | | --HG-- extra : rebase_source : bee4238f4cd00fa8bd3104017f4caf234dcf0729
* Add unit tests for find_packagesWyatt Lee Baldwin2014-02-121-0/+72
| | | | | --HG-- extra : rebase_source : 75f5ce4d2fb9d0ccd7168739c23d9ea1eeeb9112
* Fix failing test on Windows3.2Jason R. Coombs2014-03-141-2/+3
|
* Backout b17e9a0ea116 and 50725de303ef, restoring Feature model. Fixes #161 ↵Jason R. Coombs2014-03-081-0/+84
| | | | | | | and re-opens #65. --HG-- extra : amend_source : f14bc0bf6c9f04e16d30ce0abf7bcb944f41ebea
* Clean some imports.Arfrever Frehtes Taifersar Arahesis2014-02-154-8/+14
|
* Remove import (missed in parent commit).Jason R. Coombs2014-02-091-1/+0
|
* Removed Features functionality. Fixes #65.Jason R. Coombs2014-02-091-83/+0
|
* Use io.open() instead of codecs.open().Arfrever Frehtes Taifersar Arahesis2014-02-071-4/+3
| | | | (builtins.open() is io.open() in Python 3.)
* Use readlines on StringIO. Ensure quiet_context returns rewound buffers.Jason R. Coombs2014-02-051-1/+3
|
* Rewrite merged tests to use context managersJason R. Coombs2014-02-051-19/+16
|
* Remove unused variableJason R. Coombs2014-02-051-1/+0
|
* Reindent according to TODO (indent was reserved to minimize the diff)Jason R. Coombs2014-02-051-15/+14
|
* Update global reference.Jason R. Coombs2014-02-051-2/+2
|
* Backed out changeset: ef949e6e6de1, which was itself a backout of the fix ↵Jason R. Coombs2014-01-271-38/+103
| | | | for Distribute #323, so this backout restores that fix and also Fixes #141.
* Modified setuptools.test.environment.ZipEnvironment to not choke on a bypassedPhilip Thiem2013-12-074-13/+53
| | | | | | | | setUp. test_egg_info, test_sdist, and test_svn all had tests that needed to be bypassed when svn was not present. tests.py26compat contains a SkipIf decorator for skipping. This worked after ironing a few wrinkles. The conditions is evaluated and stored in test_svn._svn_check.
* Merge with 1.4.2Jason R. Coombs2013-12-011-1/+17
|\
| * Moved imports to the top, made them compatible with Python 2, and added a ↵Jason R. Coombs2013-12-011-4/+6
| | | | | | | | docstring.
| * Adding test capturing #116Jason R. Coombs2013-12-011-0/+14
| |
* | Move the global import logic for test_multiproc_atexit into the test where ↵Jason R. Coombs2013-11-271-13/+9
| | | | | | | | it is used.
* | Reindent long lineJason R. Coombs2013-11-271-1/+2
| |
* | Remove redundant importsJason R. Coombs2013-11-271-2/+0
| |
* | Remove unused variable and clean whitespaceJason R. Coombs2013-11-271-2/+1
| |
* | backout 983513e397f3 now that contextlib and with statements are availableJason R. Coombs2013-11-271-52/+30
| |
* | Remove Python 2.5 compatibility in easy_install test setup.Jason R. Coombs2013-11-271-19/+15
| |
* | Remove easy_install.HAS_USER_SITE and just defer to site.ENABLE_USER_SITE.Jason R. Coombs2013-11-271-4/+4
| |
* | Remove stray import of exec_Jason R. Coombs2013-11-241-1/+1
| |
* | Drop compatibility function exec_, required for Python 2.5 and earlier.Jason R. Coombs2013-11-241-1/+1
|/
* Earlier Versions of python used gzip and tar directly. So I need toPhilip Thiem2013-11-111-12/+18
| | | | | make sure they are in the paths for the legacy tests (why did it work before). Let us hope that svn is not in that directory...
* For .svn legacy fallback, look for the files in the .svn not the directory.Philip Thiem2013-11-114-81/+214
| | | | | | | | | | | | | | | | (Fixed unexpected deprecation warning from prombredanne) Also removed the warning from fallback, only a deprecation warning is issued. Environment.py whitespacing Created a specialized command executor for tests in Environment.py Legacy Test in test_egg_info now supresses the deprecation warning. PythonPath is now explicitly controlled to allow setup.py test on clean python installations. *Fixes Issue #101* Moved some dummy svn tests from test_sdist to test_egg_info since they are egg_info tests. Downgraded a with statement in a test since we haven't offically dropped 2.4 support, however, maybe it is time. Added a test case to ensure no extranuous output on sdist with a simple dummy package without rev ctrl.
* Merged pypa/setuptools into defaultphilip_thiem2013-11-072-18/+2
|\
| * Delint (remove unused imports, excess whitespace, unnecessary syntax, and ↵Jason R. Coombs2013-11-051-19/+2
| | | | | | | | unused variables)
| * Remove svn17_example.zipJason R. Coombs2013-11-051-0/+0
| |
* | Fixed the various tests that depended on fsencode.Philip Thiem2013-11-077-3/+79
| | | | | | | | | | Added a test to run egg_info on a dummy SVN package. Added a second similar test that invokes the legacy code.
* | fixed imports on test_svn, look like it was an artifact anyway.Philip Thiem2013-11-071-1/+0
|/
* Merge with defaultJason R. Coombs2013-10-301-1/+4
|\
| * Skip test when file system encoding is not suitable. Fixes #55 and ↵1.1.7Toshio Kuratomi2013-04-111-1/+4
| | | | | | | | Distribute #363.
* | Merge with defaultPhilip Thiem2013-09-285-71/+97
|\ \ | |/ | | | | | | --HG-- extra : rebase_source : d9c70d5bebd4290f568c828c5bc3a9b93a817ff2
| * Adding test capturing Distribute #349Jason R. Coombs2013-09-182-0/+16
| | | | | | | | | | --HG-- extra : amend_source : 2f401317ae94e6291ae91f8da75173781bc4c48c
| * Fixed script header generation in easy_install tests. Fixes #37.Jason R. Coombs2013-08-091-2/+2
| |
| * Added test to capture behavior expected behavior on Windows with spaces in ↵Jason R. Coombs2013-08-091-0/+4
| | | | | | | | the filename
| * Fixed test_get_script_header failures on Windows when Python is in a ↵Jason R. Coombs2013-08-091-3/+6
| | | | | | | | directory with spaces