Skip to content

Commit dc3dc17

Browse files
committed
remove trailing commas from setup keyword examples
1 parent 17f25f4 commit dc3dc17

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/distributing.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ from `sampleproject/setup.py
131131

132132
::
133133

134-
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
134+
packages=find_packages(exclude=['contrib', 'docs', 'tests*'])
135135

136136
It's required to list the :term:`packages <Import Package>` to be included
137137
in your project. Although they can be listed manually,
@@ -191,7 +191,7 @@ from `sampleproject/setup.py
191191
],
192192

193193
# What does your project relate to?
194-
keywords='sample setuptools development',
194+
keywords='sample setuptools development'
195195

196196

197197

@@ -255,7 +255,7 @@ from `sampleproject/setup.py
255255

256256
::
257257

258-
data_files=[('my_data', ['data/data_file'])],
258+
data_files=[('my_data', ['data/data_file'])]
259259

260260
Each (directory, files) pair in the sequence specifies the installation
261261
directory and the files to install there. If directory is a relative path, it is
@@ -290,7 +290,7 @@ from `sampleproject/setup.py
290290
'console_scripts': [
291291
'sample=sample:main',
292292
],
293-
},
293+
}
294294

295295
Although ``setup.py`` supports a `scripts
296296
<http://docs.python.org/3.4/distutils/setupscript.html#installing-scripts>`_
@@ -436,10 +436,10 @@ Uploading your Project to PyPI
436436

437437
.. note::
438438

439-
Before releasing on main PyPI repo, you might prefer training with
439+
Before releasing on main PyPI repo, you might prefer training with
440440
`PyPI test site <https://testpypi.python.org/pypi>`_
441-
which is cleaned on a semi regular basis. See
442-
`these instructions <https://wiki.python.org/moin/TestPyPI>`_ on how
441+
which is cleaned on a semi regular basis. See
442+
`these instructions <https://wiki.python.org/moin/TestPyPI>`_ on how
443443
to setup your configuration in order to use it.
444444

445445
First, you need a :term:`PyPI <Python Package Index (PyPI)>` user

0 commit comments

Comments
 (0)