Commit dcfd6504 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Exclude tests from being installed via 'pip install'.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent 667e8ba1
......@@ -4,7 +4,7 @@ include HISTORY.rst
include LICENSE
include README.rst
recursive-include tests *
recursive-exclude tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
......@@ -31,7 +31,7 @@ from six import PY3
def data_DB_updater(gms_obj_dict, path_db):
# type: (dict) -> None
# type: (dict, str) -> None
"""Updates the table "scenes_proc" or "mgrs_tiles_proc within a postgreSQL or an SQL database
according to the given dictionary of a GMS object.
......@@ -36,8 +36,17 @@ version = {}
with open("py_tools_ds/") as version_file:
exec(, version)
requirements = ['gdal>=2.1.0', 'numpy', 'shapely', 'six', 'pandas', 'scikit-image>=0.16.0', 'geopandas',
'pyproj>=2.2.0', 'spectral']
requirements = [
setup_requirements = [] # TODO(danschef): put setup requirements (distutils extensions, etc.) here
test_requirements = requirements + ["coverage", "nose", "nose2", "nose-htmloutput", "rednose"]
......@@ -49,7 +58,7 @@ setup(
author="Daniel Scheffler",
packages=find_packages(), # searches for packages with an and returns them as properly formatted list
packages=find_packages(exclude=['tests*']), # searches for packages with an and returns a list
package_dir={'py_tools_ds': 'py_tools_ds'},
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment