[
https://issues.apache.org/jira/browse/THRIFT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086113#comment-13086113
]
Jake Farrell commented on THRIFT-380:
-------------------------------------
Adding try/except to allow for a build to occur without setuptools. Using
setuptools to start pushing released client version to pypi, patch for
publishing to follow shortly
> Use setuptools for python build
> -------------------------------
>
> Key: THRIFT-380
> URL: https://issues.apache.org/jira/browse/THRIFT-380
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Reporter: Ben Maurer
> Assignee: Jake Farrell
>
> We should use setuptools for the python build as this allows thrift to be
> distributed as an egg file:
> {quote}
> Index: setup.py
> ===================================================================
> --- setup.py (revision 755803)
> +++ setup.py (working copy)
> @@ -5,9 +5,8 @@
> #
> # See accompanying file LICENSE or visit the Thrift site at:
> # 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'],
> )
> {quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira