Make installs easier on Windows

Issue #54 resolved
Ed McDonagh created an issue
  • Document the process clearly
    • Installation of python
    • Add Python Scripts to the path
    • Installation of pip
    • Installation of virtualenv
    • Installation of OpenREM
    • Escaping '\' in file path for database
    • Path examples don't have python2.7 in them for Windows

Comments (24)

  1. Ed McDonagh reporter
    • If using virtualenv on Windows shebang is ignored:
      • Activate virtualenv
      • Don't just call script - call python and use relative path to script, ie
      • python path\to\Scripts\

    Otherwise the .py extension means it will be run using the system wide C:\Python27 install and fail.

  2. Ed McDonagh reporter

    virtualenv name must not end in openrem else the routine for adding openrem to the path will be satisfied and won't do the job.

  3. Ed McDonagh reporter

    Trying to improve the documentation for installation on Windows and Linux - commit to see how tables work with the rtd stylesheet. Refs #54.

    → <<cset ff71ce6f5a16>>

  4. Ed McDonagh reporter

    Removed table - long bullet points were not wrapping leading to a very very wide table that didn't work. Started to adde Linux and Windows specific elements to general instructions. Refs #54

    → <<cset 64fdb43886a3>>

  5. Ed McDonagh reporter

    Finished adding windows versions of everything in the (not so) quick install. Not improved by actual Windows install experience yet. Refs #54.

    → <<cset 71fc141cec18>>

  6. Ed McDonagh reporter

    Corrected title underlines and a spelling, turned file paths into code to avoid the backslash disappearing, added a few spaces to make an intended codeblock work, modified the microsoft link to make that work. Refs #80 and #54.

    → <<cset 5f4cf1ffcad6>>

  7. Ed McDonagh reporter
    • changed milestone to 0.4.1

    Bumping this to 0.4.1

    A lot of the changes have been made, but would be improved further by a test install on a virgin machine.

  8. Ed McDonagh reporter

    Added check after pip is installed to make sure it can be called directly. Removed python -m pip instruction for WIndows, as this isn't required if the scripts folder is on the path. Removed note about path for importing data for the same reason. Refs #54.

    → <<cset dc4dc341b1e0>>

  9. Log in to comment