Only minor documentation formatting and editing.
Reverted previous changes in 0.2.2 since they were redundant. Updated docs.
Changes:
- Now will only run once, even if called twice in a module. The
modify_syspath
setting will be honored, if it wasn't done before.
Changes:
- The
mod_path
keyword argument toinit
has been changed tomodify_syspath
.
Bug Fixes:
- Fixed bug in the routine for deleting
sys.path[0]
. - Added a corresponding restore routine to restore it.
New Features: None
Bug Fixes: None
Other changes:
- Stable version.
- Updates to docs.
New Features:
- The default of the
mod_path
argument toinit
is nowTrue
. If a deletion is performed then the deletedsys.path[0]
entry is saved asset_package_attribute.deleted_sys_path_0_value
for informational purposes, replacing its defaultNone
value. - A shortcut import
set_package_attribute_magic
was added which automatically callsinit
with the default argument values.
New Features: None.
Bug Fixes:
- Fixed a name-shadowing bug where the module run as a script has the same name as the package it is in.
Other Changes: None.
Initial release.