File: PKG-INFO

package info (click to toggle)
python-pkginfo 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 416 kB
  • ctags: 354
  • sloc: python: 1,487; makefile: 76
file content (214 lines) | stat: -rw-r--r-- 7,726 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
Metadata-Version: 1.0
Name: pkginfo
Version: 1.1
Summary: Query metadatdata from sdists / bdists / installed packages.
Home-page: http://pypi.python.org/pypi/pkginfo/
Author: Tres Seaver, Agendaless Consulting
Author-email: tseaver@agendaless.com
License: Python
Description: ``pkginfo`` README
        ==================
        
        This package provides an API for querying the distutils metadata written in
        the ``PKG-INFO`` file inside a source distriubtion (an ``sdist``) or a
        binary distribution (e.g., created by running ``bdist_egg``).  It can
        also query the ``EGG-INFO`` directory of an installed distribution, and
        the ``*.egg-info`` stored in a "development checkout"
        (e.g, created by running ``setup.py develop``).
        
        
        Please see the `pkginfo docs <http://packages.python.org/pkginfo>`_
        for detailed documentation.
        
        
        ``pkginfo`` Changelog
        =====================
        
        1.1 (2013-10-09)
        ----------------
        
        - Fix tests to pass with current PyPy releases.
        
        1.1b1 (2013-05-05)
        ------------------
        
        - Support "develop" packages which keep their ``*.egg-info`` in a subdirectory.
          See https://bugs.launchpad.net/pkginfo/+bug/919147.
        
        - Add support for "unpacked SDists" (thanks to Mike Lundy for the patch).
        
        1.0 (2013-05-05)
        ----------------
        
        - No changes from 1.0b2.
        
        1.0b2 (2012-12-28)
        ------------------
        
        - Suppress resource warning leaks reported against clients.
        
        - Fix 'commandline' module under Py3k.
        
        1.0b1 (2012-12-28)
        ------------------
        
        - Add support for Python 3.2 and 3.3, including testing them under ``tox``.
        
        - Add support for PyPy, including testing it under ``tox``.
        
        - Test supported Python versions under ``tox``.
        
        - Drop support for Python 2.5.
        
        - Add a ``setup.py dev`` alias:  runs ``setup.py develop`` and installs
          testing extras (``nose`` and ``coverage``).
        
        0.9.1 (2012-10-22)
        ------------------
        
        - Fix test failure under Python >= 2.7, which is enforcing
          'metadata_version == 1.1' because we have classifiers.
        
        
        0.9 (2012-04-25)
        ----------------
        
        - Fix introspection of installed namespace packages.
          They may be installed as eggs or via dist-installed 'egg-info' files.
          https://bugs.launchpad.net/pkginfo/+bug/934311
        
        - Avoid a regression in 0.8 under Python 2.6 / 2.7 when parsing unicode.
          https://bugs.launchpad.net/pkginfo/+bug/733827/comments/3
        
        
        0.8 (2011-03-12)
        ----------------
        
        - Work around Python 2.7's breakage of StringIO.  Fixes
          https://bugs.launchpad.net/pkginfo/+bug/733827
        
        - Fixed bug in introspection of installed packages missing the
          ``__package__`` attribute.
          
        
        0.7 (2010-11-04)
        ----------------
        
        - Preserve newlines in the ``description`` field.  Thanks to Sridhar
          Ratnakumar for the patch.
        
        - 100% test coverage.
        
        
        0.6 (2010-06-01)
        ----------------
        
        - Replaced use of ``StringIO.StringIO`` with ``io.StringIO``, where available
          (Python >= 2.6).
        
        - Replaced use of ``rfc822`` stdlib module with ``email.parser``, when
          available (Python >= 2.5).  Ensured that distributions "unfold" wrapped
          continuation lines, stripping any leading / trailing whitespace, no matter
          which module was used for parsing.
        
        - Removed bogus testing dependency on ``zope.testing``.
        
        - Added tests that the "environment markers" spelled out in the approved
          PEP 345 are captured.
        
        - Added ``Project-URL`` for ``1.2`` PKG-INFO metdata (defined in the accepted
          version of PEP 345).
        
        
        0.5 (2009-09-11)
        ----------------
        
        - Marked package as non-zip-safe.
        
        - Fixed Trove metadata misspelling.
        
        - Restored compatibility with Python 2.4.
        
        - Noted that the introspection of installed packages / modules works only
          in Python 2.6 or later.
        
        - Added ``Index`` class as an abstraction over a collection of distributions.
        
        - Added ``download_url_prefix`` argument to ``pkginfo`` script.  If passed,
          the script will use the prefix to synthesize a ``download_url`` for
          distributions which do not supply that value directly.
        
        
        0.4.1 (2009-05-07)
        ------------------
        
        - Fixed bugs in handling of installed packages which lack ``__file__``
          or ``PKG-INFO``.
        
        
        0.4 (2009-05-07)
        ----------------
        
        - Extended the console script to allow output as CSV or INI.  Also, added
          arguments to specify the metadata version and other parsing / output
          policies.
        
        - Added support for the different metadata versions specified in PEPs
          241, 314, and 345.  Distributions now parse and expose only the attributes
          corresponding to their metadata version, which defaults to the version
          parsed from the ``PKG-INFO`` file.  The programmer can override that version
          when creating the distribution object.
        
        
        0.3 (2009-05-07)
        ----------------
        
        - Added support for introspection of "development eggs" (checkouts with
          ``PKG-INFO``, perhaps created via ``setup.py develop``).
        
        - Added a console script, ``pkginfo``, which takes one or more paths
          on the command line and writes out the associated information.  Thanks
          to ``runeh`` for the patch!
        
        - Added ``get_metadata`` helper function, which dispatches a given path or
          module across the available distribution types, and returns a distribution
          object.  Thanks to ``runeh`` for the patch!
        
        - Made distribution objects support iteration over the metadata fields.
          Thanks to ``runeh`` for the patch!
        
        - Made Distribution and subclasses new-style classes.  Thanks to ``runeh``
          for the patch!
        
        
        0.2 (2009-04-14)
        ----------------
        
        - Added support for introspection of ``bdist_egg`` binary distributions.
        
        
        0.1.1 (2009-04-10)
        ------------------
        
        - Fixed packaging errors.
        
        
        0.1 (2009-04-10)
        ----------------
        
        - Initial release.
        
Keywords: distribution sdist installed metadata
Platform: Unix
Platform: Windows
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Software Distribution