#9951: Missing package init file 'sage/tests/french_book/__init__.py'
----------------------+-----------------------------------------------------
Reporter: mpatel | Owner: jason
Type: defect | Status: needs_review
Priority: minor | Milestone:
Component: misc | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------+-----------------------------------------------------
Comment(by leif):
Replying to [comment:5 zimmerma]:
> sorry, I don't know how to review this patch. On my side, {{{sage -b}}}
works with the vanilla
> sage-4.6.alpha1.
If it wouldn't '''work''', the priority of this ticket would be
''blocker'' rather than ''minor''. ;-)
The patch just avoids potentially annoying or confusing warning messages.
To see the difference, do for example:
{{{
#!sh
~/Sage/sage-4.6.alpha1/devel/sage-main$ touch
sage/tests/french_book/numbertheory.py
~/Sage/sage-4.6.alpha1/devel/sage-main$ ../../sage -b
----------------------------------------------------------
sage: Building and installing modified Sage library files.
Installing c_lib
scons: `install' is up to date.
Updating Cython code....
Execute 0 commands (using 0 threads)
Time to execute 0 commands: 0.0640869140625 seconds
Finished compiling Cython code (time = 0.421274900436 seconds)
running install
running build
running build_py
package init file 'sage/tests/french_book/__init__.py' not found (or not a
regular file)
copying sage/tests/french_book/numbertheory.py ->
build/lib.linux-x86_64-2.6/sage/tests/french_book
package init file 'sage/tests/french_book/__init__.py' not found (or not a
regular file)
running build_ext
Total time spent compiling C/C++ extensions: 0.0187819004059 seconds.
running install_lib
copying build/lib.linux-x86_64-2.6/sage/tests/french_book/numbertheory.py
-> /home/leif/Sage/sage-4.6.alpha1/local/lib/python2.6/site-
packages/sage/tests/french_book
byte-compiling /home/leif/Sage/sage-4.6.alpha1/local/lib/python2.6/site-
packages/sage/tests/french_book/numbertheory.py to numbertheory.pyc
running install_egg_info
Removing /home/leif/Sage/sage-4.6.alpha1/local/lib/python2.6/site-
packages/sage-0.0.0-py2.6.egg-info
Writing /home/leif/Sage/sage-4.6.alpha1/local/lib/python2.6/site-
packages/sage-0.0.0-py2.6.egg-info
real 0m1.590s
user 0m1.110s
sys 0m0.300s
}}}
Then apply the patch and retry it. (In fact, you should not even have to
touch the file, the messages should be there regardless of files being
modified or not.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9951#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.