mirror of
https://github.com/django/django.git
synced 2025-12-09 19:08:06 +00:00
Refs #33476 -- Reformatted code with Black.
This commit is contained in:
parent
f68fa8b45d
commit
9c19aff7c7
1992 changed files with 139577 additions and 96284 deletions
9
setup.py
9
setup.py
|
|
@ -7,7 +7,7 @@ from setuptools import setup
|
|||
|
||||
# Allow editable install into user site directory.
|
||||
# See https://github.com/pypa/pip/issues/7953.
|
||||
site.ENABLE_USER_SITE = '--user' in sys.argv[1:]
|
||||
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
|
||||
|
||||
# Warn if we are installing over top of an existing installation. This can
|
||||
# cause issues where files that were deleted from a more recent Django are
|
||||
|
|
@ -32,7 +32,8 @@ setup()
|
|||
|
||||
|
||||
if overlay_warning:
|
||||
sys.stderr.write("""
|
||||
sys.stderr.write(
|
||||
"""
|
||||
|
||||
========
|
||||
WARNING!
|
||||
|
|
@ -49,4 +50,6 @@ should manually remove the
|
|||
|
||||
directory and re-install Django.
|
||||
|
||||
""" % {"existing_path": existing_path})
|
||||
"""
|
||||
% {"existing_path": existing_path}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue