ports/www/py-evernote/files/patch-setup.py
Kubilay Kocak d2cddc450b [NEW] www/py-evernote: Evernote SDK for Python
This SDK contains wrapper code used to call the Evernote Cloud API from Python.

WWW: https://dev.evernote.com
2014-08-23 13:50:41 +00:00

20 lines
653 B
Python

# Unbundle thrift and add it to requirements
# TODO: Upstream
--- ./setup.py.orig 2013-06-13 05:14:17.000000000 +1000
+++ ./setup.py 2014-07-24 20:19:10.032661190 +1000
@@ -18,7 +18,7 @@
url='http://dev.evernote.com',
description='Evernote SDK for Python',
long_description=read('README.md'),
- packages=find_packages('lib'),
+ packages=find_packages('lib',exclude=["*.thrift", "*,thrift.*", "thrift.*", "thrift"]),
package_dir={'': 'lib'},
classifiers=[
'Development Status :: 5 - Production/Stable',
@@ -29,5 +29,6 @@
license='BSD',
install_requires=[
'oauth2',
+ 'thrift',
],
)