Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--clear doesn't clear out bin/ #2

Closed
carljm opened this issue Mar 14, 2011 · 2 comments
Closed

--clear doesn't clear out bin/ #2

carljm opened this issue Mar 14, 2011 · 2 comments
Labels

Comments

@carljm
Copy link

carljm commented Mar 14, 2011

From https://bugs.launchpad.net/virtualenv/+bug/325642

carljm@bokchoi:~$ python2.6 -m virtualenv tmp
New python executable in tmp/bin/python2.6
Not overwriting existing python script tmp/bin/python (you must use tmp/bin/python2.6)
Installing setuptools.............done.
carljm@bokchoi:~$ python2.6 -m virtualenv --clear tmp
Deleting tree tmp/lib/python2.6
Not deleting tmp/bin
New python executable in tmp/bin/python2.6
Not overwriting existing python script tmp/bin/python (you must use tmp/bin/python2.6)
Installing setuptools............done.
@pnasrat
Copy link

pnasrat commented Mar 24, 2011

Is this still an issue?

With 1.4.9

pnasrat-macbookpro:virtualenv pnasrat$ python2.6 -m virtualenv ve
New python executable in ve/bin/python
Installing setuptools............done.
pnasrat-macbookpro:virtualenv pnasrat$ python2.6 -m virtualenv --clear ve
Deleting tree ve/lib/python2.6
Not deleting ve/bin
New python executable in ve/bin/python
Installing setuptools............done.

Seems to work on master too

pnasrat-macbookpro:virtualenv pnasrat$ git show
commit 6bece29dd18bd92a666f177f3ff5efdf2d1ac967


pnasrat-macbookpro:virtualenv pnasrat$ python2.4 virtualenv.py --clear ve
Not deleting ve/bin
New python executable in ve/bin/python
Installing setuptools.............done.

pnasrat-macbookpro:virtualenv pnasrat$ ./ve/bin/python -c 'import sys; print sys.version'
2.4.6 (#1, Aug  3 2009, 17:05:16) 
[GCC 4.0.1 (Apple Inc. build 5490)]

@dstufft dstufft mentioned this issue Jan 5, 2015
5 tasks
undingen pushed a commit to undingen/virtualenv that referenced this issue May 23, 2016
Remove most of the setuptools hacks
@Ivoz Ivoz removed the launchpad label May 29, 2016
@gaborbernat
Copy link
Contributor

I think this should be fixed, we don't support Python 2.6 anymore but if you can reproduce it with 2.7+ open it again.

@rtd-helper rtd-helper bot mentioned this issue Oct 16, 2019
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants