Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Windows install instructions

  • Loading branch information...
commit 8ada3e5e8026449c73ecd0e5e91d66603f05243d 1 parent 1a042e7
@bkidwell authored
Showing with 24 additions and 2 deletions.
  1. +7 −1 README.html
  2. +17 −1 README.md
View
8 README.html
@@ -32,7 +32,13 @@ <h2 id="installation">Installation</h2>
<pre><code>chmod +x ~/Apps/mdepub/__main__.py
ln --symbolic ~/Apps/mdepub/__main.py__ ~/bin/mdepub
</code></pre>
-<p>(Make sure <code>~/bin</code> is in your $PATH variable when you run <code>mdepub</code>.)</p>
+<p>(Make sure <code>~/bin</code> is in your <code>$PATH</code> variable when you run <code>mdepub</code>.)</p>
+<h3 id="windows">Windows</h3>
+<p><code>mdepub</code> should work in Windows as well. Make sure all your requirements are installed and make sure you can run <code>python</code>, <code>pandoc</code>, and <code>ebook-convert</code> by just calling their name from the command line. (You probably will have to edit your <code>$PATH</code> environment variable.)</p>
+<p>To invoke <code>mdepub</code>, you can either do</p>
+<pre><code>python -m [path to...]\mdepub.zip [mdepub arguments]
+</code></pre>
+<p>Or create a batch file in your <code>$PATH</code> that calls Python in this way and passes command line arguments through to mdepub.</p>
<h2 id="usage">Usage</h2>
<p><strong>Create an empty Epub project</strong>:</p>
<pre><code>mdepub create
View
18 README.md
@@ -43,7 +43,23 @@ the package files in `~/Apps/mdepub` and then do this:
chmod +x ~/Apps/mdepub/__main__.py
ln --symbolic ~/Apps/mdepub/__main.py__ ~/bin/mdepub
-(Make sure `~/bin` is in your $PATH variable when you run `mdepub`.)
+(Make sure `~/bin` is in your `$PATH` variable when you run `mdepub`.)
+
+
+### Windows
+
+
+`mdepub` should work in Windows as well. Make sure all your requirements
+are installed and make sure you can run `python`, `pandoc`, and
+`ebook-convert` by just calling their name from the command line. (You
+probably will have to edit your `$PATH` environment variable.)
+
+To invoke `mdepub`, you can either do
+
+ python -m [path to...]\mdepub.zip [mdepub arguments]
+
+Or create a batch file in your `$PATH` that calls Python in this way and
+passes command line arguments through to mdepub.
## Usage
Please sign in to comment.
Something went wrong with that request. Please try again.