atelier.invlib.tasks¶
This is the module that defines the invoke namespace.
It is imported by atelier.invlib.setup_from_tasks()
which passes
it to invoke.Collection.from_module()
.
(This module’s source code is available here.)
Functions
|
Thanks to oddthinking on http://stackoverflow.com/questions/2528283 |
|
Extract messages from source files to django.pot file |
|
Return an RstFile object representing the blog entry for that date in the current project. |
|
|
|
|
|
|
|
Create code .po files if necessary. |
|
Call |
|
Delete |
|
|
|
Run the given Python command line py_cmd in each demo project. |
|
Show project status on PyPI before doing a release. |
|
|
|
Delete all generated Sphinx files. |
|
Update .po files from .pot file. |
Classes
|
Exceptions
|
-
atelier.invlib.tasks.
local
(*args, **kwargs)¶ Call
invoke.run()
with pty=True.This is useful e.g. to get colors in a terminal.
-
atelier.invlib.tasks.
get_current_date
(today=None)¶
-
atelier.invlib.tasks.
cleanup_pyc
(p, batch=False)¶ Thanks to oddthinking on http://stackoverflow.com/questions/2528283
-
atelier.invlib.tasks.
sphinx_clean
(ctx, batch=False)¶ Delete all generated Sphinx files.
-
atelier.invlib.tasks.
py_clean
(ctx, batch=False)¶ Delete
.pyc
files,.eggs
and__cache__
directories under the project’s root direcotory.
-
atelier.invlib.tasks.
show_pypi_status
(ctx, severe=True)¶ Show project status on PyPI before doing a release.
-
atelier.invlib.tasks.
get_blog_entry
(ctx, today)¶ Return an RstFile object representing the blog entry for that date in the current project.
-
atelier.invlib.tasks.
extract_messages
(ctx)¶ Extract messages from source files to django.pot file
-
atelier.invlib.tasks.
init_catalog_code
(ctx)¶ Create code .po files if necessary.
-
atelier.invlib.tasks.
update_catalog_code
(ctx)¶ Update .po files from .pot file.
-
atelier.invlib.tasks.
run_in_demo_projects
(ctx, py_cmd, cov=False, bare=False)¶ Run the given Python command line py_cmd in each demo project.
See also
ctx.demo_projects
.