Skip to content
This repository
Browse code

Merge pull request #356 from warsaw/setuptools

Add a --setuptools option
  • Loading branch information...
commit c4eafdbf00f10a5e85e76d941f268cdcc5d3f13c 2 parents 7ff692b + c81af55
Jannis Leidel jezdez authored

Showing 1 changed file with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. +10 0 virtualenv.py
10 virtualenv.py
@@ -858,6 +858,16 @@ def main():
858 858 help='Use Distribute instead of Setuptools. Set environ variable '
859 859 'VIRTUALENV_DISTRIBUTE to make it the default ')
860 860
  861 + parser.add_option(
  862 + '--setuptools',
  863 + dest='use_distribute',
  864 + action='store_false',
  865 + help='Use Setuptools instead of Distribute. Set environ variable '
  866 + 'VIRTUALENV_SETUPTOOLS to make it the default ')
  867 +
  868 + # Set this to True to use distribute by default, even in Python 2.
  869 + parser.set_defaults(use_distribute=False)
  870 +
861 871 default_search_dirs = file_search_dirs()
862 872 parser.add_option(
863 873 '--extra-search-dir',

0 comments on commit c4eafdb

Please sign in to comment.
Something went wrong with that request. Please try again.