| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs/install/index.rst: Update usage command output.
* docs/schedule/index.rst: Update lps_gen command example.
* docs/speakers/index.rst: Update lps_gen command example.
* lps_gen.py (RenderHTML): Change argument template ->
template_name. Read template from package.
(main): Remove `lp_t` command line argument.
* tests/test_lps_gen.py (TestLPS.test_RenderHTML)
(TestLPS.test_RenderHTML_sessions_only)
(TestLPS.test_RenderHTML_nonexistent_template)
(TestLPSTBA.setup, TestLPSpeakers.test_RenderHTML): Update RenderHTML
call; pass template name instead of template path.
|
|
|
|
|
|
| |
* lps_gen.py (template_read): Add template file extension.
* tests/test_lps_gen.py (TestTemplates.test_read): Don't specify
template file extension.
|
|
|
|
|
|
|
| |
* lps_gen.py (template_read): Add exception handling for non-existent
templates.
* tests/test_lps_gen.py (TestTemplates.test_read): Add non-existent
template test.
|
|
|
|
|
| |
* lps_gen.py (template_read): New function.
* tests/test_lps_gen.py (TestTemplates): New test class.
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.setup_class, TestLPS.setup_class)
(TestLPSTBA.setup_class, TestLPSSpeakers.setup_class)
(TestSpeakersAutoLinking): Update template path.
|
|
|
|
|
| |
setup.py (config.py_modules): Update field.
(config.packages): New field.
|
|
|
|
| |
* setup.py (config): Add package_data.
|
|
|
|
| |
* setup.py (config): Remove data_files.
|
| |
|
| |
|
| |
|
|
|
|
| |
lpschedule_generator/data/schedule.jinja2
|
|
|
|
| |
lpschedule_generator/data/speakers.jinja2
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 29f699722164450111caacb3acfca82d3881f928.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* lps_gen.py (main): Use format for formatted string.
|
|
|
|
| |
* lps_gen.py (LPSRenderer.link): Use format for formatted string.
|
|
|
|
|
| |
* lps_gen.py (LPiCal.to_ical): Use format for formatted string.
* tests/test_lps_gen.py (TestLPiCal.test_to_ical): Update test.
|
|
|
|
| |
* lps_gen.py (LPiCal.mk_datetime): Use format for formatted string.
|
|
|
|
| |
* lps_gen.py (LPiCal.gen_uid): Use format for formatted string.
|
|
|
|
|
|
| |
* lps_gen.py (LPiCal.__init__): Use format function for formatted
string.
* tests/test_lps_gen.py (TestLPiCal.test_init): New test.
|
|
|
|
|
| |
* Makefile (venv3): Factor venv backup shell expression into a if
block.
|
|
|
|
| |
* Makefile (clean-build): Don't suppress command output.
|
|
|
|
| |
* Makefile (clean-pyc): Don't suppress command output.
|
|
|
|
| |
* Makefile (clean-venv): Use virtual environment directory variable.
|
|
|
|
| |
Makefile (clean): New target.
|
|
|
|
|
|
| |
* Makefile (GNU_MAKE): New variable.
(docs): Use GNU Make.
(clean-docs): Use GNU Make.
|
|
|
|
|
|
|
|
|
| |
Setup venv3 so that I'm able to provision virtual environments under
/usr/local/virtualenv/ directory (due to OpenBSD's 'wxallowed').
* Makefile (VENV_CMD, VENV_PREFIX): New variables.
(VENV_DIR3): Update variable.
(venv3): Update target.
|
|
|
|
| |
Change 'Programming Language' to Python 3 only.
|
|
|
|
| |
* lps_gen.py (read_file): Change file mode to just 'r'.
|
|
|
|
| |
* lps_gen.py (write_file): Change file mode to just 'w'.
|
|
|
|
| |
* lps_gen.py (LPiCal.gen_ical): Wrap returned string around str().
|
| |
|
|
|
|
|
|
|
| |
unicode(STRING) -> str(STRING)
* lps_gen.py (LPSRenderer.get_uid)
(LPSpeakersRenderer.mk_uid): Update methods.
|
|
|
|
|
|
|
|
|
| |
DICT.iteritems() -> DICT.items().
* tests/test_lps_gen.py
(TestLPiCal.test_get_timeslot)
(TestLPiCal.test_get_month_day)
(TestLPiCal.test_add_event): Update methods.
|
|
|
|
|
|
|
|
|
|
|
|
| |
DICT.has_key(KEY) -> 'KEY' in DICT.
* tests/test_lps_gen.py
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_imgurl)
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_imgalt)
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_bio)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_imgurl)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_imgalt)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_bio): Update methods.
|