Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-380

Use setuptools for python build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8
    • Python - Library
    • None
    • Patch Available

    Description

      We should use setuptools for the python build as this allows thrift to be distributed as an egg file:

      Index: setup.py
      ===================================================================
      — setup.py (revision 755803)
      +++ setup.py (working copy)
      @@ -5,9 +5,8 @@
      #

      1. See accompanying file LICENSE or visit the Thrift site at:
      2. http://developers.facebook.com/thrift/
        +from setuptools import setup, Extension
        -from distutils.core import setup, Extension

      fastbinarymod = Extension('thrift.protocol.fastbinary',
      sources = ['src/protocol/fastbinary.c'],
      )

      Attachments

        Issue Links

          Activity

            People

              jfarrell Jake Farrell
              bmaurer Ben Maurer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: