Fix a few issues with the minimal zip file and update README
This commit is contained in:
@@ -191,9 +191,15 @@ novelWriter
|
|||||||
|
|
||||||
### Setup on Windows
|
### Setup on Windows
|
||||||
|
|
||||||
For Windows, you can either install via PyPi, or use the Windows installer available from the
|
For Windows, first ensure that you have Python installed. If not, get it from
|
||||||
[releases](https://github.com/vkbo/novelWriter/releases) page. This should add the necessary icons
|
[python.org/downloads](https://www.python.org/downloads/). Remember to select "Add Python to PATH"
|
||||||
to your desktop and start menu.
|
during the installation, otherwise novelWriter cannot find it.
|
||||||
|
|
||||||
|
Then, download the `novelWriter-x.y.z-minimal.zip` file, where `x.y.z` is the version number, from
|
||||||
|
the [releases](https://github.com/vkbo/novelWriter/releases) page. You can extract it to wherever
|
||||||
|
you want to keep novelWriter on your PC, and run the `setup_windows.bat` file in it
|
||||||
|
(double-clicking it should work). This will install the necessary dependencies from
|
||||||
|
[pypi,org](https://pypi.org/) and create desktop and start menu icons.
|
||||||
|
|
||||||
|
|
||||||
## Debugging
|
## Debugging
|
||||||
|
|||||||
@@ -264,6 +264,7 @@ def makeMinimalPackage():
|
|||||||
"LICENSE.md",
|
"LICENSE.md",
|
||||||
"README.md",
|
"README.md",
|
||||||
"novelWriter.pyw",
|
"novelWriter.pyw",
|
||||||
|
"requirements.txt",
|
||||||
"setup.py",
|
"setup.py",
|
||||||
"setup_windows.bat",
|
"setup_windows.bat",
|
||||||
]
|
]
|
||||||
@@ -784,7 +785,7 @@ def winInstall():
|
|||||||
|
|
||||||
targetDir = os.path.abspath(os.path.dirname(__file__))
|
targetDir = os.path.abspath(os.path.dirname(__file__))
|
||||||
targetPy = os.path.join(targetDir, "novelWriter.pyw")
|
targetPy = os.path.join(targetDir, "novelWriter.pyw")
|
||||||
targetIcon = os.path.join(targetDir, "setup", "icons", "novelwriter.ico")
|
targetIcon = os.path.join(targetDir, "nw", "assets", "icons", "novelwriter.ico")
|
||||||
|
|
||||||
print("Collecting Info ...")
|
print("Collecting Info ...")
|
||||||
print("Desktop Folder: %s" % desktopDir)
|
print("Desktop Folder: %s" % desktopDir)
|
||||||
|
|||||||
@@ -8,9 +8,6 @@ if errorlevel 1 goto errorNoPython
|
|||||||
echo Python found. OK.
|
echo Python found. OK.
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
:: Generate the sample project
|
|
||||||
python setup.py sample
|
|
||||||
|
|
||||||
:: Install the PyQt5, lxml and pyenchant dependencies
|
:: Install the PyQt5, lxml and pyenchant dependencies
|
||||||
python setup.py pip
|
python setup.py pip
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user