mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #33044 -- Reallowed editable install into user site directory.
Regression in f8f35e8c53.
			
			
This commit is contained in:
		
							
								
								
									
										5
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								setup.py
									
									
									
									
									
								
							| @@ -1,9 +1,14 @@ | ||||
| import os | ||||
| import site | ||||
| import sys | ||||
| from distutils.sysconfig import get_python_lib | ||||
|  | ||||
| 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:] | ||||
|  | ||||
| # 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 | ||||
| # still present in site-packages. See #18115. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user