Skip to content

Commit

Permalink
setup.py: Workaround for pypa/pip#7953
Browse files Browse the repository at this point in the history
  • Loading branch information
neilflood committed May 27, 2024
1 parent b01651a commit 7199ec0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
from setuptools import setup
import glob

# These next lines are to get around https://github.com/pypa/pip/issues/7953
import site
import sys
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]

import rios

# Are we installing the command line scripts?
Expand Down

0 comments on commit 7199ec0

Please sign in to comment.