1. 02 Mar, 2020 1 commit
    • 0b10's avatar
      python: add pyuserpaths function (#7758) · 72707d92
      0b10 authored
      Summary
          Make it get a list of installed interpreters, and add the
          relevant local (HOME) site-packages directory to PYTHONPATH.
      
          Reason
          To easily add all relevant paths, initially, and between upgrades.
      
      Add check for PYTHONUSERBASE
      
          Summary
          Check for a non-standard install directory, use it if one
          exists, otherwise use ~/.local.
      
          Reason
          Allow users to specify their own installation directory, without
          affecting functionality.
      72707d92
  2. 27 Feb, 2020 1 commit
    • Petr Bělohlávek's avatar
      python: add alias to run the proper IPython based on virtualenv · 6b54302b
      Petr Bělohlávek authored
      Current state: a user invokes `ipython` and is provided with the IPython
      instance regarding the `$PATH`.
      
      Proposed state: a user invokes `ipython` (which is a new alias in the
      *python plugin*) and is provided with the proper IPython instance regarding
      the currently activated virtualenv.
      
      Example: the user's default Python is 2.7 with installed IPython 2.7. User
      activates Python 3.5 virtualenv where he installs IPython 3.5. After
      activating the environment, one expects `ipython` to run the version 3.5,
      which does not happen by default. Instead, IPython 2.7 is used, which in
      counter-intuitive and often causes problem.
      
      Closes #5797
      6b54302b
  3. 25 Oct, 2019 1 commit
    • Michael's avatar
      python: fix and extend pyclean (#7762) · 9785d241
      Michael authored
      Deleting `.mypy_cache` did not work, because the directories were not
      empty.  They contain JSON files instead of compiled byte-code.
      
      This extends the cleanup by also getting rid of `.pytest_cache`
      directories.
      9785d241
  4. 09 Oct, 2019 1 commit
  5. 23 Sep, 2018 1 commit
  6. 13 Nov, 2013 1 commit
  7. 10 Sep, 2013 1 commit
  8. 26 Oct, 2012 1 commit
  9. 21 Mar, 2012 1 commit
  10. 14 Apr, 2011 1 commit
  11. 13 Apr, 2011 1 commit