Skip to content

Commit d933e90

Browse files
committed
changing the pkg name everywhere
1 parent 28f70f3 commit d933e90

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

source/tutorials/packaging-projects.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ PyPI. After the command completes, you should see output similar to this:
266266
267267
268268
Once uploaded your package should be viewable on TestPyPI, for example,
269-
https://test.pypi.org/project/example-pkg-your-username
269+
https://test.pypi.org/project/example-pkg-YOUR-USERNAME-HERE
270270

271271

272272
Installing your newly uploaded package
@@ -278,7 +278,7 @@ detailed instructions) and install your package from TestPyPI:
278278

279279
.. code-block:: bash
280280
281-
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-your-username
281+
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-YOUR-USERNAME-HERE
282282
283283
Make sure to specify your username in the package name!
284284

@@ -287,10 +287,10 @@ something like this:
287287

288288
.. code-block:: text
289289
290-
Collecting example-pkg-your-username
291-
Downloading https://test-files.pythonhosted.org/packages/.../example-pkg-your-username-0.0.1-py3-none-any.whl
292-
Installing collected packages: example-pkg-your-username
293-
Successfully installed example-pkg-your-username-0.0.1
290+
Collecting example-pkg-YOUR-USERNAME-HERE
291+
Downloading https://test-files.pythonhosted.org/packages/.../example-pkg-YOUR-USERNAME-HERE-0.0.1-py3-none-any.whl
292+
Installing collected packages: example-pkg-YOUR-USERNAME-HERE
293+
Successfully installed example-pkg-YOUR-USERNAME-HERE-0.0.1
294294
295295
.. note:: This example uses ``--index-url`` flag to specify TestPyPI instead of live PyPI. Additionally, it specifies ``--no-deps``. Since TestPyPI doesn't have the same packages as the live PyPI, it's possible that attempting to install dependencies may fail or install something unexpected. While our example package doesn't have any dependencies, it's a good practice to avoid installing dependencies when using TestPyPI.
296296

@@ -305,7 +305,7 @@ Run the Python interpreter (make sure you're still in your virtualenv):
305305
306306
And then import the module and print out the ``name`` property. This should be
307307
the same regardless of what you name you gave your :term:`distribution package`
308-
in :file:`setup.py` (in this case, ``example-pkg-your-username``) because your :term:`import package` is ``example_pkg``.
308+
in :file:`setup.py` (in this case, ``example-pkg-YOUR-USERNAME-HERE``) because your :term:`import package` is ``example_pkg``.
309309

310310
.. code-block:: python
311311

0 commit comments

Comments
 (0)