Jump to content
Chap. 02 - Location Of Nester.pyc
No replies to this topic
Posted 08 April 2011 - 08:08 PM
Already followed the instruction on building the distribution for nester.py. Then after I run that command "sudo python3 setup.py install", I get that result:
copying build/lib.linux-i686-3.1/nester.py -> /usr/local/lib/python3.1/dist-packages
byte-compiling /usr/local/lib/python3.1/dist-packages/nester.py to nester.pyc
On page 42 indicates that I will have "nester.pyc" in my "nester" folder where I stored the "setup.py" and "nester.py". But I'm puzzled that the "nester.pyc" is missing after the installation of "nester.py".
The following files and directories are created within "nester" folder:
The "nester.pyc" file is missing. So I searched for it thru a list of paths stored in the PYTHONPATH environment variable. And I've learned that the "nester.pyc" is stored in that directory - "/usr/local/lib/python3.1/dist-packages" along with "nester-1.0.0.egg-info" and "nester.py"
Can somebody explain to me why the "nester.pyc" is placed in that directory instead of "nester" directory?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users