@@ -47,7 +47,7 @@ install the latest 3.x version from `python.org`_ or refer to the
47
47
`getting started tutorial `_ for an introduction to using your operating
48
48
system's shell and interacting with Python.
49
49
50
- Additionally, you'll need to make sure you have :ref: `pip ` available. You can
50
+ Additionally, you'll need to make sure you have `pip `_ available. You can
51
51
check this by running:
52
52
53
53
.. code-block :: bash
@@ -60,16 +60,17 @@ using your OS package manager, you may have to `install pip <https://pip.pypa.io
60
60
61
61
.. _getting started tutorial : https://opentechschool.github.io/python-beginners/en/getting_started.html#what-is-python-exactly
62
62
.. _python.org : https://python.org
63
+ .. _pip : https://pypi.org/project/pip/
63
64
.. _Homebrew : https://brew.sh
64
65
.. _Installing Python : http://docs.python-guide.org/en/latest/starting/installation/
65
66
66
67
67
68
Installing Pipenv
68
69
-----------------
69
70
70
- :ref: `Pipenv ` is a dependency manager for Python projects. If you're familiar
71
+ `Pipenv `_ is a dependency manager for Python projects. If you're familiar
71
72
with Node.js' `npm `_ or Ruby's `bundler `_, it is similar in spirit to those
72
- tools. While :ref: `pip ` can install Python packages, Pipenv is recommended as
73
+ tools. While `pip `_ can install Python packages, Pipenv is recommended as
73
74
it's a higher-level tool that simplifies dependency management for common use
74
75
cases.
75
76
@@ -100,6 +101,7 @@ Use ``pip`` to install Pipenv:
100
101
user ``PATH `` permanently in the `Control Panel `_. You may need to log
101
102
out for the ``PATH `` changes to take effect.
102
103
104
+ .. _Pipenv : https://docs.pipenv.org/
103
105
.. _npm : https://www.npmjs.com/
104
106
.. _bundler : http://bundler.io/
105
107
.. _user base : https://docs.python.org/3/library/site.html#site.USER_BASE
@@ -120,11 +122,13 @@ tutorial) and run:
120
122
$ pipenv install requests
121
123
122
124
Pipenv will install the excellent `Requests `_ library and create a ``Pipfile ``
123
- for you in your project's directory. The :ref: `Pipfile ` is used to track which
125
+ for you in your project's directory. The `Pipfile `_ is used to track which
124
126
dependencies your project needs in case you need to re-install them, such as
125
127
when you share your project with others. You should get output similar to this
126
128
(although the exact paths shown will vary):
127
129
130
+ .. _Pipfile : https://github.com/pypa/pipfile
131
+
128
132
.. code-block :: text
129
133
130
134
Creating a Pipfile for this project...
0 commit comments