@@ -240,7 +240,7 @@ You'll need to have at least python3.5 installed on your system.
240
240
241
241
**Unix **/**Mac OS **
242
242
243
- .. code-block :: none
243
+ .. code-block :: bash
244
244
245
245
# Create a virtual environment
246
246
# Use an ENV_DIR of your choice. We'll use ~/virtualenvs/pandas-dev
@@ -260,25 +260,30 @@ You'll need to have at least python3.5 installed on your system.
260
260
**Windows **
261
261
262
262
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
264
264
`official virtualenv user guide <https://virtualenv.pypa.io/en/stable/userguide/#activate-script >`__
265
265
266
- .. code-block :: none
266
+ .. code-block :: powershell
267
267
268
268
# Create a virtual environment
269
- # Use an ENV_DIR of your choice. We'll use ~\virtualenvs\pandas-dev
269
+ # 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
271
+ # %USERPROFILE% (cmd.exe) environment variable
270
272
# Any parent directories should already exist
271
- python -m venv ~\virtualenvs\pandas-dev
273
+
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
272
276
273
277
# Activate the virtualenv
274
- ~\virtualenvs\pandas-dev\Scripts\Activate.ps1
278
+ # If you are using cmd.exe, run instead: %USERPROFILE%\virtualenvs\pandas-dev\Scripts\activate.bat
279
+ ~\virtualenvs\pandas- dev\Scripts\Activate.ps1
275
280
276
281
# Install the build dependencies
277
282
python - m pip install - r requirements- dev.txt
278
283
279
284
# Build and install pandas
280
285
python setup.py build_ext -- inplace - j 4
281
- python -m pip install -e . --no-build-isolation
286
+ python - m pip install - e . -- no- build-isolation -- no - use-pep517
282
287
283
288
Creating a branch
284
289
-----------------
0 commit comments