Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix *_custom_setuptools_useable ITs. #606

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,13 +1022,17 @@ def pex_with_entrypoints(entry_point):
""")

my_app = dedent("""
from setuptools.sandbox import run_setup
import sys

def do_something():
return run_setup
try:
from setuptools.sandbox import run_setup
return 0
except:
return 1

if __name__ == '__main__':
do_something()
sys.exit(do_something())
""")

with temporary_content({'setup.py': setup_py, 'my_app.py': my_app}) as project_dir:
Expand Down