Skip to content

Commit 4b2fd58

Browse files
committed
Merge pull request pypa#140 from limedaring/patch-1
Consistent style in code blocks
2 parents b0d01fb + 92e372e commit 4b2fd58

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/distributing.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ name
151151

152152
::
153153

154-
name = 'sample'
154+
name='sample',
155155

156156
This is the name of your project, and will determine how your project is listed
157157
on :term:`PyPI <Python Package Index (PyPI)>`. For details on permitted
@@ -164,7 +164,7 @@ version
164164

165165
::
166166

167-
version = '1.2.0'
167+
version='1.2.0',
168168

169169

170170
Projects should comply with the `version scheme
@@ -192,7 +192,7 @@ description
192192
::
193193

194194
description='A sample Python project',
195-
long_description=long_description
195+
long_description=long_description,
196196

197197
Give a short and long description for you project. These values will be
198198
displayed on :term:`PyPI <Python Package Index (PyPI)>` if you publish your
@@ -204,7 +204,7 @@ url
204204

205205
::
206206

207-
url='https://github.com/pypa/sampleproject'
207+
url='https://github.com/pypa/sampleproject',
208208

209209

210210
Give a homepage url for your project.
@@ -216,7 +216,7 @@ author
216216
::
217217

218218
author='The Python Packaging Authority',
219-
author_email='[email protected]'
219+
author_email='[email protected]',
220220

221221
Provide details about the author.
222222

@@ -226,7 +226,7 @@ license
226226

227227
::
228228

229-
license='MIT'
229+
license='MIT',
230230

231231
Provide the type of license you are using.
232232

@@ -259,7 +259,7 @@ classifiers
259259
'Programming Language :: Python :: 3.2',
260260
'Programming Language :: Python :: 3.3',
261261
'Programming Language :: Python :: 3.4',
262-
]
262+
],
263263

264264
Provide a list of classifiers the categorize your project. For a full listing,
265265
see https://pypi.python.org/pypi?%3Aaction=list_classifiers.
@@ -270,7 +270,7 @@ keywords
270270

271271
::
272272

273-
keywords='sample setuptools development'
273+
keywords='sample setuptools development',
274274

275275
List keywords that describe your project.
276276

@@ -280,7 +280,7 @@ packages
280280

281281
::
282282

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

285285

286286
It's required to list the :term:`packages <Import Package>` to be included
@@ -295,7 +295,7 @@ install_requires
295295

296296
::
297297

298-
install_requires = ['peppercorn']
298+
install_requires=['peppercorn'],
299299

300300
"install_requires" should be used to specify what dependences a project
301301
minimally needs to run. When the project is installed by :ref:`pip`, this is the
@@ -313,7 +313,7 @@ package_data
313313

314314
package_data={
315315
'sample': ['package_data.dat'],
316-
}
316+
},
317317

318318

319319
Often, additional files need to be installed into a :term:`package <Import
@@ -337,7 +337,7 @@ data_files
337337

338338
::
339339

340-
data_files=[('my_data', ['data/data_file'])]
340+
data_files=[('my_data', ['data/data_file'])],
341341

342342
Although configuring :ref:`Package Data` is sufficient for most needs, in some
343343
cases you may need to place data files *outside* of your :term:`packages
@@ -381,7 +381,7 @@ entry_points
381381

382382
entry_points={
383383
...
384-
}
384+
},
385385

386386

387387
Use this keyword to specify any plugins that your project provides for any named
@@ -405,7 +405,7 @@ console_scripts
405405
'console_scripts': [
406406
'sample=sample:main',
407407
],
408-
}
408+
},
409409

410410
Use "console_script" `entry points
411411
<http://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-services-and-plugins>`_

0 commit comments

Comments
 (0)