Skip to content

Instantly share code, notes, and snippets.

@clofresh
Last active December 14, 2015 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clofresh/5006669 to your computer and use it in GitHub Desktop.
Save clofresh/5006669 to your computer and use it in GitHub Desktop.
diff --git a/lib/py/setup.py b/lib/py/setup.py
index d111bb1..5a0b59c 100644
--- a/lib/py/setup.py
+++ b/lib/py/setup.py
@@ -19,14 +19,14 @@
# under the License.
#
-from distutils.core import setup, Extension
+from setuptools import setup, Extension
fastbinarymod = Extension('thrift.protocol.fastbinary',
sources = ['src/protocol/fastbinary.c'],
)
setup(name = 'Thrift',
- version = '0.1',
+ version = '0.5.0',
description = 'Thrift Python Libraries',
author = ['Thrift Developers'],
author_email = ['thrift-dev@incubator.apache.org'],
git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift
cd thrift
git checkout thrift-0.5.0
cd lib/py
curl https://gist.github.com/clofresh/5006669/raw/bff7c40d0f2caaa624d6019d892218a3fdd17fef/gistfile1.diff | patch -p 3
python setup.py bdist_egg
scp dist/*.egg topdog@kerberos.datad0g.com:/opt/datadog/rookery/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment