[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-21 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

\o/

--
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
superseder:  - distutils doesn't byte-compile .py files to __pycache__ during 
installation

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13181
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-19 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I think this is #11254, for which I’ve just pushed a fix.  Can you update your 
3.3 clone and try to reproduce?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13181
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-19 Thread Paul Moore

Paul Moore p.f.mo...@gmail.com added the comment:

Yes, working correctly now

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13181
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-17 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

That’s odd.  Are the pyc files in RECORD?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13181
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-17 Thread Paul Moore

Paul Moore p.f.mo...@gmail.com added the comment:

 That’s odd.  Are the pyc files in RECORD?

Yes, but not in __pycache__ where they should be.

PS D:\Data\python-sample\python type
D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\RECORD
D:\Data\cpython\Lib\site-packages\hello.py,798c341fba13dcecba260e25d2b976b6,42
D:\Data\cpython\Lib\site-packages\hello.pyc,,
D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\METADATA,bcae83fd032d0c33cea5dc14a1ca1bc5,206
D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\INSTALLER,44e3fde05f3f537ed85831969acf396d,9
D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\REQUESTED,d41d8cd98f00b204e9800998ecf8427e,0
D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\RECORD,,

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13181
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-14 Thread Paul Moore

New submission from Paul Moore p.f.mo...@gmail.com:

The title explains. Here is an example:

PS D:\Data\python-sample\python pysetup install
Installing from source directory: 'D:\\Data\\python-sample\\python'
running install_dist
running build
running build_py
running install_lib
byte-compiling D:\Data\cpython\Lib\site-packages\hello.py to 
hello.cpython-33.pyc
running install_distinfo
creating D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info
creating D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\METADATA
creating D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\INSTALLER
creating D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\REQUESTED
creating D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\RECORD
PS D:\Data\python-sample\python pysetup remove hello
Removing 'hello':
  D:\Data\cpython\Lib\site-packages\hello.py
  D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\METADATA
  D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\INSTALLER
  D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\REQUESTED
  D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\RECORD
Proceed (y/n)? y
Success: removed 5 files and 1 dirs
PS D:\Data\python-sample dir D:\Data\cpython\Lib\site-packages\__pycache__


Directory: D:\Data\cpython\Lib\site-packages\__pycache__


ModeLastWriteTime Length Name
- -- 
-a---14/10/2011 18:53314 hello.cpython-33.pyc

The pyc file should have been removed. It's not critical (the pyc file gets 
ignored, see PEP 3147) but as pysetup created it, pysetup should remove it...

--
assignee: tarek
components: Distutils2
messages: 145554
nosy: alexis, eric.araujo, pmoore, tarek
priority: low
severity: normal
status: open
title: pysetup install creates .pyc files but pysetup remove doesn't delete them
type: behavior
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13181
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com