Skip to content

Commit

Permalink
integration tests should be excluded from install
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyh committed Sep 14, 2021
1 parent 1b76d3a commit 8b44d0e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
import os
import pathlib

from setuptools import find_packages, setup
Expand Down Expand Up @@ -45,9 +44,6 @@
],
}

packages = find_packages()
if os.getenv("ENVIRONMENT") == "deployment":
packages = find_packages(exclude=("integration_tests",))

setup(
name="datacube-explorer",
Expand All @@ -61,7 +57,7 @@
author="Geoscience Australia",
author_email="earth.observation@ga.gov.au",
license="Apache Software License 2.0",
packages=packages,
packages=find_packages(exclude=("integration_tests",)),
project_urls={
"Bug Reports": "https://github.com/opendatacube/datacube-explorer/issues",
"Source": "https://github.com/opendatacube/datacube-explorer",
Expand Down

0 comments on commit 8b44d0e

Please sign in to comment.