~ubuntu-branches/debian/squeeze/protobuf/squeeze

« back to all changes in this revision

Viewing changes to python/setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-06-02 16:19:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602161900-vm176i3ryt35yk91
Tags: 2.0.3-2.2
* Non-maintainer upload.
* Fix FTBFS from -2.1: don't fail when we can't clean up the java build,
  such as when openjdk isn't installed.
* Disable parallel builds, because libtool is made of fail (if binary-arch
  and build-indep run concurrently, we relink a library while it's being
  used; that doesn't work so well).

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
      sys.exit(-1)
48
48
 
49
49
def MakeTestSuite():
 
50
  # This is apparently needed on some systems to make sure that the tests
 
51
  # work even if a previous version is already installed.
 
52
  if 'google' in sys.modules:
 
53
    del sys.modules['google']
 
54
 
50
55
  generate_proto("../src/google/protobuf/unittest.proto")
51
56
  generate_proto("../src/google/protobuf/unittest_import.proto")
52
57
  generate_proto("../src/google/protobuf/unittest_mset.proto")
97
102
    generate_proto("../src/google/protobuf/descriptor.proto")
98
103
 
99
104
  setup(name = 'protobuf',
100
 
        version = '2.0.0beta',
 
105
        version = '2.0.3',
101
106
        packages = [ 'google' ],
102
107
        namespace_packages = [ 'google' ],
103
108
        test_suite = 'setup.MakeTestSuite',
104
109
        # Must list modules explicitly so that we don't install tests.
105
110
        py_modules = [
 
111
          'google.protobuf.internal.containers',
106
112
          'google.protobuf.internal.decoder',
107
113
          'google.protobuf.internal.encoder',
108
114
          'google.protobuf.internal.input_stream',
109
115
          'google.protobuf.internal.message_listener',
110
116
          'google.protobuf.internal.output_stream',
 
117
          'google.protobuf.internal.type_checkers',
111
118
          'google.protobuf.internal.wire_format',
112
119
          'google.protobuf.descriptor',
113
120
          'google.protobuf.descriptor_pb2',
115
122
          'google.protobuf.reflection',
116
123
          'google.protobuf.service',
117
124
          'google.protobuf.service_reflection',
118
 
          'google.protobuf.text_format'],
 
125
          'google.protobuf.text_format' ],
119
126
        url = 'http://code.google.com/p/protobuf/',
120
127
        maintainer = maintainer_email,
121
128
        maintainer_email = 'protobuf@googlegroups.com',
122
 
        license = 'Apache License, Version 2.0',
 
129
        license = 'New BSD License',
123
130
        description = 'Protocol Buffers',
124
131
        long_description =
125
132
          "Protocol Buffers are Google's data interchange format.",