Exclude docs and tests package from distribution

Fix #131
This commit is contained in:
Julien Duponchelle 2015-04-01 16:41:11 +02:00
parent 026fe3df9b
commit b2d8a8d810
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ include LICENSE
include MANIFEST.in include MANIFEST.in
include tox.ini include tox.ini
recursive-exclude tests * recursive-exclude tests *
recursive-include docs * recursive-exclude docs *
recursive-include gns3server * recursive-include gns3server *
recursive-exclude * __pycache__ recursive-exclude * __pycache__
recursive-exclude * *.py[co] recursive-exclude * *.py[co]

View File

@ -61,7 +61,7 @@ setup(
"gns3dms = gns3dms.main:main", "gns3dms = gns3dms.main:main",
] ]
}, },
packages=find_packages(), packages=find_packages(".", exclude=["docs", "tests"]),
package_data={"gns3server": ["templates/upload.html"]}, package_data={"gns3server": ["templates/upload.html"]},
include_package_data=True, include_package_data=True,
platforms="any", platforms="any",