From b3655066ffe72e6201d208f07749c7912b522770 Mon Sep 17 00:00:00 2001 From: Nico Cernek Date: Fri, 2 Aug 2019 10:15:09 -0600 Subject: [PATCH 1/4] remove confusing instructions and link. --- doc/source/development/contributing.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index 80dc8b0d8782b..0e13267b5f2db 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -133,10 +133,7 @@ Installing a C compiler Pandas uses C extensions (mostly written using Cython) to speed up certain operations. To install pandas from source, you need to compile these C extensions, which means you need a C compiler. This process depends on which -platform you're using. Follow the `CPython contributing guide -`_ for getting a -compiler installed. You don't need to do any of the ``./configure`` or ``make`` -steps; you only need to install the compiler. +platform you're using. For Windows developers, when using Python 3.5 and later, it is sufficient to install `Visual Studio 2017 `_ with the From e97292ab96f38c68536911ebaf7318a153cf0158 Mon Sep 17 00:00:00 2001 From: Nico Cernek Date: Fri, 2 Aug 2019 10:28:52 -0600 Subject: [PATCH 2/4] add brief instructions for mac users --- doc/source/development/contributing.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index 0e13267b5f2db..eb7c440778f90 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -135,6 +135,9 @@ operations. To install pandas from source, you need to compile these C extensions, which means you need a C compiler. This process depends on which platform you're using. +For Mac users, you will need to install the Apple Developer Tools. Once you have done that, +the easiest thing is to use `cc` (the clang LLVM compiler), from the command line. + For Windows developers, when using Python 3.5 and later, it is sufficient to install `Visual Studio 2017 `_ with the **Python development workload** and the **Python native development tools** From ba460c7fc2a6bbdb928f745f4d46b9fbb9469b17 Mon Sep 17 00:00:00 2001 From: Nico Cernek Date: Fri, 2 Aug 2019 11:58:29 -0600 Subject: [PATCH 3/4] remove trailing whitespace --- doc/source/development/contributing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index eb7c440778f90..57ebaf2b4725b 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -135,7 +135,7 @@ operations. To install pandas from source, you need to compile these C extensions, which means you need a C compiler. This process depends on which platform you're using. -For Mac users, you will need to install the Apple Developer Tools. Once you have done that, +For Mac users, you will need to install the Apple Developer Tools. Once you have done that, the easiest thing is to use `cc` (the clang LLVM compiler), from the command line. For Windows developers, when using Python 3.5 and later, it is sufficient to From eac39a596449016201bad881fcb11920c723bc15 Mon Sep 17 00:00:00 2001 From: Nico Cernek Date: Fri, 2 Aug 2019 16:33:34 -0600 Subject: [PATCH 4/4] add links to documentation --- doc/source/development/contributing.rst | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index 57ebaf2b4725b..b38f7767ae073 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -135,20 +135,9 @@ operations. To install pandas from source, you need to compile these C extensions, which means you need a C compiler. This process depends on which platform you're using. -For Mac users, you will need to install the Apple Developer Tools. Once you have done that, -the easiest thing is to use `cc` (the clang LLVM compiler), from the command line. - -For Windows developers, when using Python 3.5 and later, it is sufficient to -install `Visual Studio 2017 `_ with the -**Python development workload** and the **Python native development tools** -option. Otherwise, the following links may be helpful. - -* https://blogs.msdn.microsoft.com/pythonengineering/2017/03/07/python-support-in-vs2017/ -* https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/ -* https://github.com/conda/conda-recipes/wiki/Building-from-Source-on-Windows-32-bit-and-64-bit -* https://cowboyprogrammer.org/building-python-wheels-for-windows/ -* https://blog.ionelmc.ro/2014/12/21/compiling-python-extensions-on-windows/ -* https://support.enthought.com/hc/en-us/articles/204469260-Building-Python-extensions-with-Canopy +* Windows: https://devguide.python.org/setup/#windows-compiling +* Mac: https://devguide.python.org/setup/#macos +* Unix: https://devguide.python.org/setup/#unix-compiling Let us know if you have any difficulties by opening an issue or reaching out on `Gitter`_.