mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
fc6119645e
- Patch setup.py to exclude tests from install (CONFLICT) [1][2] - pkg-descr: Tab->space in WWW: (portlint) - Bump PORTREVISION [1] This Python package uses packages=find_packages() with a tests module in the root that contains an __init__.py file, which results in the tests module being installed in site-packages. The correct way of including tests in a pypi package using sdist, while excluding tests in the root from being installed it to use: * packages = find_packages(exclude='tests'), * A MANIFEST.in containing "include tests/*" or equivalent [2] https://github.com/simplegeo/python-oauth2/issues/139 Reported by: antoine Approved by: maintainer (via Twitter)
12 lines
433 B
Python
12 lines
433 B
Python
--- ./setup.py.orig 2014-03-15 23:48:44.604925965 +1100
|
|
+++ ./setup.py 2014-03-15 23:49:01.462781884 +1100
|
|
@@ -31,7 +31,7 @@
|
|
author="Joe Stump",
|
|
author_email="joe@simplegeo.com",
|
|
url="http://github.com/simplegeo/python-oauth2",
|
|
- packages = find_packages(),
|
|
+ packages = find_packages(exclude=['tests']),
|
|
install_requires = ['httplib2'],
|
|
license = "MIT License",
|
|
keywords="oauth",
|