浏览代码

exclude tests from distribution packages

Julien Nicoulaud 6 年之前
父节点
当前提交
fcf4e03c2f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -20,7 +20,7 @@ setup(
         'Topic :: Security :: Cryptography',
         'Topic :: Security :: Cryptography',
         'Topic :: System :: Archiving :: Backup',
         'Topic :: System :: Archiving :: Backup',
     ],
     ],
-    packages=find_packages(),
+    packages=find_packages(exclude=['tests*']),
     entry_points={
     entry_points={
         'console_scripts': [
         'console_scripts': [
             'borgmatic = borgmatic.commands.borgmatic:main',
             'borgmatic = borgmatic.commands.borgmatic:main',