提交 45ba2d1f authored 作者: Michał Górny's avatar Michał Górny 提交者: Brandon T. Willard

Fix test exclusion in setup.py

The "tests.*" exclusion only excludes test subpackages from being installed, while "tests" itself is still installed. List it explicitly to exclude it as well.
上级 1f0dfd36
...@@ -56,7 +56,7 @@ if __name__ == "__main__": ...@@ -56,7 +56,7 @@ if __name__ == "__main__":
url=URL, url=URL,
license=LICENSE, license=LICENSE,
platforms=PLATFORMS, platforms=PLATFORMS,
packages=find_packages(exclude=["tests.*"]), packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=["numpy>=1.9.1", "scipy>=0.14", "filelock"], install_requires=["numpy>=1.9.1", "scipy>=0.14", "filelock"],
package_data={ package_data={
"": [ "": [
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论