diff --git a/MANIFEST.in b/MANIFEST.in index 109cdcd0a..286e52fcc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,4 +2,5 @@ include LICENSE include CHANGELOG.md include README.md include requirements/* +recursive-exclude docs * recursive-exclude tests * diff --git a/docs/source/conf.py b/docs/source/conf.py index 399d170b4..7c5c80a68 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,7 +14,7 @@ import sys sys.path.insert(0, os.path.abspath('../..')) -from optimizely.version import __version__ +from optimizely.version import __version__ # noqa: E402 # -- Project information ----------------------------------------------------- diff --git a/setup.py b/setup.py index 1a17451d3..d1123a35d 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], - packages=find_packages(exclude=['tests']), + packages=find_packages(exclude=['docs', 'tests']), extras_require={'test': TEST_REQUIREMENTS}, install_requires=REQUIREMENTS, tests_require=TEST_REQUIREMENTS,