Bug #147
empty __init__.py[co] created in $PYTHON_SITELIBDIR when installing Prewikka
Start date:
Due date:
% Done:
0%
Resolution:
invalid
Description
Hello,
Renato Botelho noticed that when installing Prewikka, it will create three empty files in the Python sitelib directory ($PYTHON_SITELIBDIR).
One mor point, it's installing 3 files, +init+.py[co] on usr/local/lib/python2.4/site-packages/, until i know it's not correct to install files directly on site-packages dir. -- Renato Botelho
Regards,
Robin
History
#1 Updated by Yoann VANDOORSELAERE over 18 years ago
- Status changed from New to Assigned
#2 Updated by Yoann VANDOORSELAERE over 18 years ago
- Status changed from Assigned to Closed
- Resolution set to invalid
This appear to be the expected behavior:
The .py files are required to make Python treat the directories as containing packages; this is done to prevent directories with a common name, such as "string", from unintentionally hiding valid modules that occur later on the module search path. In the simplest case, .py can just be an empty file, but it can also execute initialization code for the package or set the + variable, described later.
#3 Updated by Yoann VANDOORSELAERE over 18 years ago
I've misunderstood the ticket description at first: fixed in r8180.
#4 Updated by Yoann VANDOORSELAERE over 15 years ago
- Project changed from PRELUDE SIEM to Prewikka
- Category deleted (
5) - Target version deleted (
0.9.5)