Documentation for Window users [#40]#47
Documentation for Window users [#40]#47datapythonista merged 6 commits intopython-sprints:masterfrom
Conversation
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
datapythonista
left a comment
There was a problem hiding this comment.
Thanks a lot, just some minor comments that should let users read your comments easier.
pandas/guide/source/pandas_setup.rst
Outdated
|
|
||
| | ``git remote add upstream https://github.com/pandas-dev/pandas`` | ||
|
|
||
| (For Window Users: download git for Windows <https://gitforwindows.org/> and run Git Bash in the directory where you want the copy of pandas source code with the same commends as above.) |
There was a problem hiding this comment.
I think it'll be easier for user to find it (or to skip it) if instead of the comment in brackets we use in all the comments for Windows the sphinx .. note:: directive. This will create a (yellow I think) box. If at the beginning of it we have "Windows users" in bold, Linux and Mac users will skip it easily.
Then, I think in Sphins links usually are between back quotes ended with an underscore. Ignore this comment if it renders the way you want.
pandas/guide/source/pandas_setup.rst
Outdated
| * Install pandas development dependencies: | ||
| ``conda install -c defaults -c conda-forge --file=<pandas-dir>/ci/requirements-optional-conda.txt`` | ||
|
|
||
| (For Window users: run the above commends in Anaconda Prompt) |
There was a problem hiding this comment.
Personally I prefer to be more specific and not assume much prior knowledge from users, and I'd let them know where to find the Anaconda Prompt.
Also, if you find an easy way to rewrite this paragraph so this doesn't come at the end, that would be great. To avoid users following the above instructions in Windows, to realize when they reach this point that they were doing it the "wrong" way.
pandas/guide/source/pandas_setup.rst
Outdated
| Besides the Python `.py` files, pandas source code includes C/Cython files | ||
| which need to be compiled in order to run the development version of pandas. | ||
|
|
||
| For Window Users: you'll need to install the compiler toolset. Depending on which version of Python you care about, you will need to choose a different download. |
There was a problem hiding this comment.
As users are using Anaconda, I think we can assume they'll be using the latest version of Python, and simplify this. If you want, with a note at the end with the link to Python 2.7.
pandas/guide/source/pandas_setup.rst
Outdated
|
|
||
| The process will take several minutes. | ||
|
|
||
| (For Window users: run the above commends in Anaconda Prompt) |
There was a problem hiding this comment.
Same as before, I'd try to tell them users to use Anaconda Prompt before the commands, not after.
Typo in commands
pandas/guide/source/pandas_setup.rst
Outdated
| @@ -108,3 +131,5 @@ To check in which branch are you: | |||
|
|
|||
| To change to another branch: | |||
| | ``git checkout <branch_name>`` | |||
There was a problem hiding this comment.
Same, and if we say this here, we should probably say it at the beginning, when cloning...
datapythonista
left a comment
There was a problem hiding this comment.
Looks much better. Some typos and comments on things to improve the style.
Thanks!
pandas/guide/source/pandas_setup.rst
Outdated
|
|
||
| The process will take several minutes. | ||
|
|
||
| (For Window users: run the above commends in Anaconda Prompt) |
There was a problem hiding this comment.
I think you forgot this one for converting to a note?
pandas/guide/source/pandas_setup.rst
Outdated
| to submit a pull request, so they are included in pandas. | ||
|
|
||
| .. note:: | ||
| for Window users run above comments with Git Bash at the colned pandas floder |
There was a problem hiding this comment.
Capital "F"
comments instead of commands
typo in cloned
pandas/guide/source/pandas_setup.rst
Outdated
| * Fork the `pandas repository <https://github.com/pandas-dev/pandas>`_ on GitHub by click on the top-right `Fork` button | ||
|
|
||
| .. note:: | ||
| For Window Users: download git for Windows <https://gitforwindows.org/> |
There was a problem hiding this comment.
I think it'd be clearer for users to have **Windows users:** in bold at the beginning of each note block. Being in bold and always in the same way, users will clearly perceive this is for windows users only.
pandas/guide/source/pandas_setup.rst
Outdated
| * Download and install `Anaconda <https://www.anaconda.com/download/>` | ||
|
|
||
| .. note:: | ||
| For Window users, go to the start menu, find Anaconda Prompt inside the Anaconda floder |
|
|
||
| .. note:: | ||
| For Window users, go to the start menu, find Anaconda Prompt inside the Anaconda floder | ||
| and run the above commends in Anaconda Prompt |
pandas/guide/source/pandas_setup.rst
Outdated
| .. note:: | ||
| For Window Users, you'll need to install the compiler toolset: | ||
|
|
||
| for Python 3.6 - Install Visual Studio 2017, select the Python development workload |
pandas/guide/source/pandas_setup.rst
Outdated
| for Python 3.6 - Install Visual Studio 2017, select the Python development workload | ||
| and the Native development tools option <https://www.visualstudio.com/> | ||
|
|
||
| for Python 2.7 - Microsoft Visual C++ Compiler for Python 2.7 |
|
Thank you! |
Adding documentations for Window users