Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect if docutils and rst is properly installed and do menu accordingly #37

Closed
pjrinaldi opened this issue Mar 13, 2015 · 3 comments
Closed

Comments

@pjrinaldi
Copy link
Owner

Original issue 37 created by pjrinaldi on 2012-09-28T17:23:26.000Z:

At program launch, need to detect the following:

  1. if python is properly installed.
  2. if docutils is properly installed.
  3. 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.

@pjrinaldi
Copy link
Owner Author

Comment #1 originally posted by pjrinaldi on 2012-09-30T13:24:10.000Z:

Currently, 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.

@pjrinaldi
Copy link
Owner Author

Comment #2 originally posted by pjrinaldi on 2012-10-01T11:54:00.000Z:

I'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.

@pjrinaldi
Copy link
Owner Author

Comment #3 originally posted by pjrinaldi on 2012-10-02T00:33:20.000Z:

Successfully 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant