151
151
152
152
::
153
153
154
- name = 'sample'
154
+ name= 'sample',
155
155
156
156
This is the name of your project, and will determine how your project is listed
157
157
on :term: `PyPI <Python Package Index (PyPI)> `. For details on permitted
@@ -164,7 +164,7 @@ version
164
164
165
165
::
166
166
167
- version = '1.2.0'
167
+ version= '1.2.0',
168
168
169
169
170
170
Projects should comply with the `version scheme
@@ -192,7 +192,7 @@ description
192
192
::
193
193
194
194
description='A sample Python project',
195
- long_description=long_description
195
+ long_description=long_description,
196
196
197
197
Give a short and long description for you project. These values will be
198
198
displayed on :term: `PyPI <Python Package Index (PyPI)> ` if you publish your
204
204
205
205
::
206
206
207
- url='https://github.com/pypa/sampleproject'
207
+ url='https://github.com/pypa/sampleproject',
208
208
209
209
210
210
Give a homepage url for your project.
@@ -216,7 +216,7 @@ author
216
216
::
217
217
218
218
author='The Python Packaging Authority',
219
-
219
+
220
220
221
221
Provide details about the author.
222
222
@@ -226,7 +226,7 @@ license
226
226
227
227
::
228
228
229
- license='MIT'
229
+ license='MIT',
230
230
231
231
Provide the type of license you are using.
232
232
@@ -259,7 +259,7 @@ classifiers
259
259
'Programming Language :: Python :: 3.2',
260
260
'Programming Language :: Python :: 3.3',
261
261
'Programming Language :: Python :: 3.4',
262
- ]
262
+ ],
263
263
264
264
Provide a list of classifiers the categorize your project. For a full listing,
265
265
see https://pypi.python.org/pypi?%3Aaction=list_classifiers.
@@ -270,7 +270,7 @@ keywords
270
270
271
271
::
272
272
273
- keywords='sample setuptools development'
273
+ keywords='sample setuptools development',
274
274
275
275
List keywords that describe your project.
276
276
@@ -280,7 +280,7 @@ packages
280
280
281
281
::
282
282
283
- packages=find_packages(exclude=['contrib', 'docs', 'tests*'])
283
+ packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
284
284
285
285
286
286
It's required to list the :term: `packages <Import Package> ` to be included
@@ -295,7 +295,7 @@ install_requires
295
295
296
296
::
297
297
298
- install_requires = ['peppercorn']
298
+ install_requires= ['peppercorn'],
299
299
300
300
"install_requires" should be used to specify what dependences a project
301
301
minimally needs to run. When the project is installed by :ref: `pip `, this is the
@@ -313,7 +313,7 @@ package_data
313
313
314
314
package_data={
315
315
'sample': ['package_data.dat'],
316
- }
316
+ },
317
317
318
318
319
319
Often, additional files need to be installed into a :term: `package <Import
@@ -337,7 +337,7 @@ data_files
337
337
338
338
::
339
339
340
- data_files=[('my_data', ['data/data_file'])]
340
+ data_files=[('my_data', ['data/data_file'])],
341
341
342
342
Although configuring :ref: `Package Data ` is sufficient for most needs, in some
343
343
cases you may need to place data files *outside * of your :term: `packages
@@ -381,7 +381,7 @@ entry_points
381
381
382
382
entry_points={
383
383
...
384
- }
384
+ },
385
385
386
386
387
387
Use this keyword to specify any plugins that your project provides for any named
@@ -405,7 +405,7 @@ console_scripts
405
405
'console_scripts': [
406
406
'sample=sample:main',
407
407
],
408
- }
408
+ },
409
409
410
410
Use "console_script" `entry points
411
411
<http://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-services-and-plugins> `_
0 commit comments