added three fields for the project URLs: Repository-URL, Repository-Browser-URL, Bug-Tracker-URL

This commit is contained in:
Tarek Ziadé 2009-11-24 09:14:32 +00:00
parent 7c738150a2
commit 031bafc608
2 changed files with 40 additions and 12 deletions

View File

@ -416,6 +416,31 @@ Copyright
Copyright: Python Software Foundation, 2005
Copyright: Public Domain
Repository-URL
A string containing the URL for the project repository.
Example::
Repository-URL: http://svn.python.org/projects/python/trunk/
Repository-Browse-URL
A string containing the URL for the project browsable repository.
Example::
Repository-Browse-URL: http://svn.python.org/view/python/trunk
Bug-Tracker-URL
A string containing the URL for the package's bug tracker
Example::
Bug-Tracker-URL: http://bugs.python.org/
Version Specifiers
==================
@ -432,7 +457,7 @@ environment.
Here are some example of fields using such markers::
Requires-Dist: pywin32, bar > 1.0; sys.platform == 'win32'
Requires-Dist: pywin32 > 1.0; sys.platform == 'win32'
Obsoletes-Dist: pywin31; sys.platform == 'win32'
Requires-Dist: foo; os.machine == 'i386'
Requires-Dist: bar; python_version == '2.4' or python_version == '2.5'
@ -496,6 +521,9 @@ Summary of Differences From PEP 314
- Requires-Dist
- Provides-Dist
- Obsoletes-Dist
- Repository-URL
- Repository-Browser-URL
- Bug-Tracker-URL
* Deprecated fields:

View File

@ -283,7 +283,7 @@ post-releases -- which apparently is used by a number of projects out there
be a ``1.2.0-r678`` release. We used ``post`` instead of ``r`` because the
``r`` is ambiguous as to whether it indicates a pre- or post-release.
Last, ``.post456.dev34`` indicates a dev parker for a post release, that sorts
Last, ``.post456.dev34`` indicates a dev marker for a post release, that sorts
before a ``.post345`` marker. This can be used to do development versions
of post releases.