Commit b20d12e1 authored by Harald Korneliussen's avatar Harald Korneliussen Committed by GitHub

Fixes syntax issues in quickstart (#2448)

Quotes in the name and packages field causes an "Invalid distribution name or version syntax" if you follow this quickstart guide directly. pep517.build also requires you to specify the directory.
parent 5cf3865f
...@@ -43,11 +43,11 @@ such as metadata, contents, dependencies, etc. Here we demonstrate the minimum ...@@ -43,11 +43,11 @@ such as metadata, contents, dependencies, etc. Here we demonstrate the minimum
.. code-block:: ini .. code-block:: ini
[metadata] [metadata]
name = "mypackage" name = mypackage
version = 0.0.1 version = 0.0.1
[options] [options]
packages = "mypackage" packages = mypackage
install_requires = install_requires =
requests requests
importlib; python_version == "2.6" importlib; python_version == "2.6"
...@@ -63,7 +63,7 @@ Then, you need an installer, such as `pep517 <https://pypi.org/project/pep517/>` ...@@ -63,7 +63,7 @@ Then, you need an installer, such as `pep517 <https://pypi.org/project/pep517/>`
which you can obtain via ``pip install pep517``. After downloading it, invoke which you can obtain via ``pip install pep517``. After downloading it, invoke
the installer:: the installer::
python -m pep517.build python -m pep517.build .
You now have your distribution ready (e.g. a ``tar.gz`` file and a ``.whl`` You now have your distribution ready (e.g. a ``tar.gz`` file and a ``.whl``
file in the ``dist`` directory), which you can upload to PyPI! file in the ``dist`` directory), which you can upload to PyPI!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment