Skip to content

Commit 776e542

Browse files
committed
PR improvements
- remove trailing spacing remove - change the setup.py params so that all CPU cores will be utilized - split cmd.exe instructions on a separate line Related issue pandas-dev#29112
1 parent e1d3a6d commit 776e542

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

doc/source/development/contributing.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -254,35 +254,37 @@ You'll need to have at least python3.5 installed on your system.
254254
python -m pip install -r requirements-dev.txt
255255
256256
# Build and install pandas
257-
python setup.py build_ext --inplace -j 4
257+
python setup.py build_ext --inplace -j 0
258258
python -m pip install -e . --no-build-isolation
259259
260260
**Windows**
261261

262262
Below is a brief overview on how to set-up a virtual environment with Powershell
263-
under Windows. For details please refer to the
263+
under Windows. For details please refer to the
264264
`official virtualenv user guide <https://virtualenv.pypa.io/en/stable/userguide/#activate-script>`__
265265

266266
.. code-block:: powershell
267267
268268
# Create a virtual environment
269269
# Use an ENV_DIR of your choice. We'll use ~\virtualenvs\pandas-dev where
270-
# '~' is the folder pointed to by either $env:USERPROFILE (Powershell) or
270+
# '~' is the folder pointed to by either $env:USERPROFILE (Powershell) or
271271
# %USERPROFILE% (cmd.exe) environment variable
272272
# Any parent directories should already exist
273273
274-
# If you are using cmd.exe, run instead: python -m venv $env:USERPROFILE\virtualenvs\pandas-dev
275-
python -m venv $env:USERPROFILE\virtualenvs\pandas-dev
274+
# If you are using cmd.exe, run instead:
275+
# python -m venv %USERPROFILE%\virtualenvs\pandas-dev
276+
python -m venv $env:USERPROFILE\virtualenvs\pandas-dev
276277
277278
# Activate the virtualenv
278-
# If you are using cmd.exe, run instead: %USERPROFILE%\virtualenvs\pandas-dev\Scripts\activate.bat
279-
~\virtualenvs\pandas-dev\Scripts\Activate.ps1
279+
# If you are using cmd.exe, run instead:
280+
# %USERPROFILE%\virtualenvs\pandas-dev\Scripts\activate.bat
281+
~\virtualenvs\pandas-dev\Scripts\Activate.ps1
280282
281283
# Install the build dependencies
282284
python -m pip install -r requirements-dev.txt
283285
284286
# Build and install pandas
285-
python setup.py build_ext --inplace -j 4
287+
python setup.py build_ext --inplace -j 0
286288
python -m pip install -e . --no-build-isolation --no-use-pep517
287289
288290
Creating a branch

0 commit comments

Comments
 (0)