diff options
-rw-r--r-- | distribute.egg-info/entry_points.txt | 2 | ||||
-rw-r--r-- | setuptools/tests/test_easy_install.py | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/distribute.egg-info/entry_points.txt b/distribute.egg-info/entry_points.txt index 9fd41758..0ee58646 100644 --- a/distribute.egg-info/entry_points.txt +++ b/distribute.egg-info/entry_points.txt @@ -32,7 +32,7 @@ depends.txt = setuptools.command.egg_info:warn_depends_obsolete [console_scripts] easy_install = setuptools.command.easy_install:main -easy_install-2.7 = setuptools.command.easy_install:main +easy_install-2.5 = setuptools.command.easy_install:main [setuptools.file_finders] svn_cvs = setuptools.command.sdist:_default_revctrl diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index e02798c6..692982b3 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -10,6 +10,16 @@ from setuptools.command import easy_install as easy_install_pkg from setuptools.dist import Distribution from pkg_resources import Distribution as PRDistribution +try: + import multiprocessing + import logging + _LOG = logging.getLogger('test_easy_install') + logging.basicConfig(level=logging.INFO, stream=sys.stderr) + _MULTIPROC = True +except ImportError: + _MULTIPROC = False + _LOG = None + class FakeDist(object): def get_entry_map(self, group): if group != 'console_scripts': @@ -186,3 +196,8 @@ class TestUserInstallTest(unittest.TestCase): content.sort() self.assertEquals(content, ['UNKNOWN.egg-link', 'easy-install.pth']) + def test_multiproc_atexit(self): + if not _MULTIPROC: + return + _LOG.info('this should not break') + |