Commit 720ba101 authored by Jason R. Coombs's avatar Jason R. Coombs

Inline setup.py for consistency.

parent 9cb2bcb4
......@@ -45,7 +45,8 @@ class BuildBackendCaller(BuildBackendBase):
@pytest.fixture
def build_backend(tmpdir):
setup_script = DALS("""
defn = {
'setup.py': DALS("""
from setuptools import setup
setup(
......@@ -55,13 +56,11 @@ def build_backend(tmpdir):
entry_points={'console_scripts': ['hi = hello.run']},
zip_safe=False,
)
""")
defn = {
'setup.py': setup_script,
"""),
'hello.py': DALS("""
def run():
print('hello')
""")
"""),
}
build_files(defn, prefix=str(tmpdir))
with tmpdir.as_cwd():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment