I can reproduce it, and even get an idea partially for what's going on, by running "easy_install" on the source .tar.gz of pytz. I placed a pdb inside of setup.py when the files are located, and made a new "dist" file. I verified that the "US" files are in fact in the .tar.gz I created. But when running easy_install, I get an output like this:
If I peek into the tmp directory, I can see that the "US" folder is blank, that's what I have above with pdb and its also what I see when I look in the tmp directory from the outside. Its very strange - as far as I can tell, the issue here is occurring when setuptools does whatever it does to untar pytz-2010h.tar.gz into the tmp directory - files are just lost, seemingly randomly. Seems like a setuptools bug, actually. (directories named "US" ? directories that are all capital letters ? some other weird thing ?)
I can reproduce it, and even get an idea partially for what's going on, by running "easy_install" on the source .tar.gz of pytz. I placed a pdb inside of setup.py when the files are located, and made a new "dist" file. I verified that the "US" files are in fact in the .tar.gz I created. But when running easy_install, I get an output like this:
classics- MacBook- Pro:pytz- 2010h classic$ easy_install dist/pytz- 2010h.tar. gz Frameworks/ Python. framework/ Versions/ 2.7/lib/ python2. 7/site- packages/ bv/bvGj7UN02RWN J++8ZRcrpU+ ++TI/-Tmp- /easy_install- hmAoDz/ pytz-2010h/ egg-dist- tmp-y3lhzl var/folders/ bv/bvGj7UN02RWN J++8ZRcrpU+ ++TI/-Tmp- /easy_install- hmAoDz/ pytz-2010h/ setup.py( 43)<module> () split(os. path.sep, 1)[1] os.path. join('pytz' , 'zoneinfo', 'US'))
install_dir /Library/
Processing pytz-2010h.tar.gz
Running pytz-2010h/setup.py -q bdist_egg --dist-dir /var/folders/
> /private/
-> basepath = dirpath.
(Pdb) os.listdir(
[]
If I peek into the tmp directory, I can see that the "US" folder is blank, that's what I have above with pdb and its also what I see when I look in the tmp directory from the outside. Its very strange - as far as I can tell, the issue here is occurring when setuptools does whatever it does to untar pytz-2010h.tar.gz into the tmp directory - files are just lost, seemingly randomly. Seems like a setuptools bug, actually. (directories named "US" ? directories that are all capital letters ? some other weird thing ?)