Closed
Description
There was no such issue in 36.6.1. Env info:
platform linux -- Python 3.6.3, pytest-3.2.3, py-1.4.34, pluggy-0.5.2
rootdir: /build/python-setuptools/src/setuptools-36.7.0, inifile: pytest.ini
plugins: virtualenv-1.2.11, shutil-1.2.11, flake8-0.9.1
=================================== FAILURES ===================================
________________________ Test.test_exclude_source_files ________________________
self = <setuptools.tests.test_bdist_egg.Test object at 0x7febaeb62978>
setup_context = local('/tmp/pytest-of-builduser/pytest-0/test_exclude_source_files0')
user_override = None
def test_exclude_source_files(self, setup_context, user_override):
dist = Distribution(dict(
script_name='setup.py',
script_args=['bdist_egg', '--exclude-source-files'],
name='foo',
py_modules=['hi'],
))
with contexts.quiet():
dist.parse_command_line()
dist.run_commands()
[dist_name] = os.listdir('dist')
dist_filename = os.path.join('dist', dist_name)
zip = zipfile.ZipFile(dist_filename)
names = list(zi.filename for zi in zip.filelist)
> assert 'hi.pyc' in names
E AssertionError: assert 'hi.pyc' in ['EGG-INFO/PKG-INFO', 'EGG-INFO/SOURCES.txt', 'EGG-INFO/dependency_links.txt', 'EGG-INFO/top_level.txt', 'EGG-INFO/zip-safe']
/build/python-setuptools/src/setuptools-36.7.0/setuptools/tests/test_bdist_egg.py:61: AssertionError
Metadata
Metadata
Assignees
Labels
No labels