~gary/python-openid/python-openid-2.2.1-patched

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2007-11-30 02:46:28 UTC
  • mfrom: (1.1.1 pyopenid-2.0)
  • Revision ID: launchpad@pqm.canonical.com-20071130024628-qktwsew3383iawmq
[rs=SteveA] upgrade to python-openid-2.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    os.system('./admin/makedoc')
8
8
 
9
9
def getLicense():
10
 
    f = open('COPYING', 'r')
11
 
    return f.read()
 
10
    return """\
 
11
Licensed under the Apache License, Version 2.0 (the "License");
 
12
you may not use this file except in compliance with the License.
 
13
You may obtain a copy of the License at
 
14
 
 
15
    http://www.apache.org/licenses/LICENSE-2.0
 
16
 
 
17
Unless required by applicable law or agreed to in writing, software
 
18
distributed under the License is distributed on an "AS IS" BASIS,
 
19
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
20
See the License for the specific language governing permissions
 
21
and limitations under the License.
 
22
"""
12
23
 
13
24
# patch distutils if it can't cope with the "classifiers" or
14
25
# "download_url" keywords
17
28
    DistributionMetadata.classifiers = None
18
29
    DistributionMetadata.download_url = None
19
30
 
20
 
version = '[library version:1.2.0]'[17:-1]
 
31
version = '[library version:2.0.1]'[17:-1]
21
32
 
22
33
setup(
23
34
    name='python-openid',
33
44
              'openid.consumer',
34
45
              'openid.server',
35
46
              'openid.store',
 
47
              'openid.yadis',
36
48
              ],
37
49
    license=getLicense(),
38
50
    author='JanRain',
39
51
    author_email='openid@janrain.com',
40
 
    download_url="http://www.openidenabled.com/resources/downloads/python-openid/python-openid-%s.tar.gz" % (version,),
 
52
    download_url="http://www.openidenabled.com/resources/downloads/python-openid/python-openid-%s.tar.bz2" % (version,),
41
53
    classifiers=[
42
54
    "Development Status :: 5 - Production/Stable",
43
55
    "Environment :: Web Environment",
44
56
    "Intended Audience :: Developers",
45
 
    "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
 
57
    "License :: OSI Approved :: Apache Software License",
46
58
    "Operating System :: POSIX",
47
59
    "Programming Language :: Python",
48
60
    "Topic :: Internet :: WWW/HTTP",