Closed follower closed 4 years ago
Hi folks, @follower @vadmium
If you want me to submit a PR just let me know.
Thanks for your reply & offer @martonmiklos.
While I obviously have no ability to merge a PR, if what you have is working I think having a PR would at least be helpful for people to apply themselves and/or be more likely to be merged. :)
I am happy to merge commits directly, but in this case I think I can simplify the change to one line, with no other code changes needed. I pushed a new branch olefile (https://github.com/vadmium/python-altium/compare/olefile), which I’ll merge when I get around to it unless anyone sees any problems.
Merged the olefile branch, better eleven months later than never :)
TL;DR:
Thanks for your work on
python-altium
.It seems the dependency installation situation can now be much simpler than in the past but to gain this:
olefile
would need to be committed.ReadMe
would need to be updated to simply instruct people to installolefile
viapip
.Context
Thanks for your work on
python-altium
.I encountered an issue during installation/first use that I thought I'd document here in case it was helpful for others.
Fork/version issues with
OleFileIO
/OleFileIO_PL
package dependencyIt seems that:
olefile
package. (See: 1, 2, 3, 4)olefile
.Unfortunately the
OleFileIO_PL
package still seems to exist separately fromolefile
but presents itself asolefile
when installed.With Python3 in particular this situation seems to lead to problems when first installing
olefile
, uninstallingolefile
and then attempting to installOleFileIO_PL
(in part due topip
hiding an error.).(Further details here: https://github.com/decalage2/olefile/issues/123.)
Use of renamed
olefile
dependencyAdditionally,
python-altium
doesn't work out of the box with the now "standard"olefile
but from looking at the project forks I noticed @martonmiklos has made a patch for this but hasn't yet created a PR for it:I haven't tested the patch yet.
Solution
It seems the dependency installation situation can now be much simpler than in the past but to gain this:
olefile
would need to be committed.ReadMe
would need to be updated to simply instruct people to installolefile
viapip
.Edited: Added Pillow-related links. Added link describing install issue.