
masterpiece - issue #37
Detect if docutils and rst is properly installed and do menu accordingly
At program launch, need to detect the following:
- if python is properly installed.
- if docutils is properly installed.
- if rst2pdf is properly installed.
if they're not installed, then I need to gray out the menu entries for that.
For each 1, I can check for the respective python files in the correct locations such as /boot/common/lib/bin or whatever.
Comment #1
Posted on Sep 30, 2012 by Grumpy GiraffeCurrently, removing script files and rather implementing them as strings in the app to run. Once completed, will have to update the publish file panel accordingly and possibly build my checks for docutils and rst2pdf.
Comment #2
Posted on Oct 1, 2012 by Grumpy GiraffeI've got the rst2pdf check in place. I'm running a query now that will return the docutils location. I just need to compare the path and ensure its the correct python*/site-packages/docutils area for the core.py function I need.
Comment #3
Posted on Oct 2, 2012 by Grumpy CatSuccessfully ran a query, iterate through the locations for core.py. Remove the numbers for python version and periods and then compare the reduced path with the path it should be.
Status: Verified
Labels:
Type-Enhancement
Priority-Critical