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

Modifications to work with MS Windows #1

Open
wants to merge 1 commit into
base: fix31
Choose a base branch
from
Open

Modifications to work with MS Windows #1

wants to merge 1 commit into from

Conversation

70ray
Copy link
Owner

@70ray 70ray commented Jan 15, 2019

lxml only works with posix type paths so change path to this type
to start with by the function posix_path().
also normpath removed in EpubWriter.py.
This works with the test file but needs more comprehensive
testing.
Since Python works on windows with posix paths it might be
possible to remove all os functions

lxml only works with posix type paths so change path to this type
to start with by the function posix_path().
also normpath removed in EpubWriter.py.
This works with the test file but needs more comprehensive
testing.
Since Python works  on windows with posix paths it might be
possible to remove all os functions
@70ray
Copy link
Owner Author

70ray commented Jan 15, 2019

I don't think these mods could do any harm on linux. There could be a better way of doing it and it would need testing for all possible inputs and outputs. It works with these files:
out.zip

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

Successfully merging this pull request may close these issues.

2 participants