diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-10-12 10:04:02 +0200 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-10-12 10:04:02 +0200 |
| commit | 720ba1011686a7dc6bfa29490a9316ba73f4e020 (patch) | |
| tree | 2657f22bbe37090f5cb8daf076e1b6f0efd312a8 /setuptools | |
| parent | 9cb2bcb48ed11ba2b3f0ee21b506adebb5622f59 (diff) | |
| download | external_python_setuptools-720ba1011686a7dc6bfa29490a9316ba73f4e020.tar.gz external_python_setuptools-720ba1011686a7dc6bfa29490a9316ba73f4e020.tar.bz2 external_python_setuptools-720ba1011686a7dc6bfa29490a9316ba73f4e020.zip | |
Inline setup.py for consistency.
Diffstat (limited to 'setuptools')
| -rw-r--r-- | setuptools/tests/test_pep517.py | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/setuptools/tests/test_pep517.py b/setuptools/tests/test_pep517.py index 5998f1f2..71644b4a 100644 --- a/setuptools/tests/test_pep517.py +++ b/setuptools/tests/test_pep517.py @@ -45,23 +45,22 @@ class BuildBackendCaller(BuildBackendBase): @pytest.fixture def build_backend(tmpdir): - setup_script = DALS(""" - from setuptools import setup - - setup( - name='foo', - py_modules=['hello'], - setup_requires=['six'], - entry_points={'console_scripts': ['hi = hello.run']}, - zip_safe=False, - ) - """) defn = { - 'setup.py': setup_script, + 'setup.py': DALS(""" + from setuptools import setup + + setup( + name='foo', + py_modules=['hello'], + setup_requires=['six'], + entry_points={'console_scripts': ['hi = hello.run']}, + zip_safe=False, + ) + """), 'hello.py': DALS(""" def run(): print('hello') - """) + """), } build_files(defn, prefix=str(tmpdir)) with tmpdir.as_cwd(): |
