Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
py_tools_ds
Commits
dcfd6504
Commit
dcfd6504
authored
Oct 12, 2020
by
Daniel Scheffler
Browse files
Exclude tests from being installed via 'pip install'.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
667e8ba1
Changes
3
Hide whitespace changes
Inline
Side-by-side
MANIFEST.in
View file @
dcfd6504
...
...
@@ -4,7 +4,7 @@ include HISTORY.rst
include LICENSE
include README.rst
recursive-
in
clude tests *
recursive-
ex
clude tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
...
...
py_tools_ds/db_tools/sql.py
View file @
dcfd6504
...
...
@@ -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.
...
...
setup.py
View file @
dcfd6504
...
...
@@ -36,8 +36,17 @@ version = {}
with
open
(
"py_tools_ds/version.py"
)
as
version_file
:
exec
(
version_file
.
read
(),
version
)
requirements
=
[
'gdal>=2.1.0'
,
'numpy'
,
'shapely'
,
'six'
,
'pandas'
,
'scikit-image>=0.16.0'
,
'geopandas'
,
'pyproj>=2.2.0'
,
'spectral'
]
requirements
=
[
'gdal>=2.1.0'
,
'geopandas'
,
'numpy'
,
'pandas'
,
'pyproj>=2.2.0'
,
'scikit-image>=0.16.0'
,
'shapely'
,
'six'
,
'spectral'
]
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"
,
author_email
=
'daniel.scheffler@gfz-potsdam.de'
,
url
=
'https://gitext.gfz-potsdam.de/danschef/py_tools_ds'
,
packages
=
find_packages
(),
# searches for packages with an __init__.py and returns
them as properly formatted
list
packages
=
find_packages
(
exclude
=
[
'tests*'
]
),
# searches for packages with an __init__.py and returns
a
list
package_dir
=
{
'py_tools_ds'
:
'py_tools_ds'
},
include_package_data
=
True
,
install_requires
=
requirements
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment