freebsd-ports/net/py-oauth2/files/patch-setup.py
Sunpoet Po-Chuan Hsieh c9033fff30 - Update to 1.9.0.post1
- Add NO_ARCH
- Relax USES=python

Changes:	https://github.com/joestump/python-oauth2/commits/release/1.9
2016-12-24 13:04:00 +00:00

14 lines
490 B
Python

# This package installs its 'test' module in site-packages/. Patch it out
# so tests/ is excluded from installation
--- setup.py.orig 2015-09-12 12:43:42 UTC
+++ setup.py
@@ -45,7 +45,7 @@ setup(name=PKG,
"Natural Language :: English",
"License :: OSI Approved :: MIT License"
],
- packages = find_packages(),
+ packages = find_packages(exclude=['tests']),
install_requires = ['httplib2'],
license = "MIT License",
keywords="oauth",