We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691486a commit c1d50b9Copy full SHA for c1d50b9
setup.py
@@ -1,9 +1,14 @@
1
import os
2
+import site
3
import sys
4
from distutils.sysconfig import get_python_lib
5
6
from setuptools import setup
7
8
+# Allow editable install into user site directory.
9
+# See https://github.com/pypa/pip/issues/7953.
10
+site.ENABLE_USER_SITE = '--user' in sys.argv[1:]
11
+
12
# Warn if we are installing over top of an existing installation. This can
13
# cause issues where files that were deleted from a more recent Django are
14
# still present in site-packages. See #18115.
0 commit comments