Commit 4c1fd144 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added setup, test, doc, lint and dev requirements. First working release on...


Added setup, test, doc, lint and dev requirements. First working release on PyPI. Updated version info.
Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 4d818029
Pipeline #14528 failed with stages
in 12 minutes and 34 seconds
......@@ -2,6 +2,13 @@
History
=======
0.18.9 (2020-10-13)
-------------------
* Added setup, test, doc, lint and dev requirements.
* First working release on PyPI.
0.18.8 (2020-10-13)
-------------------
......@@ -17,7 +24,8 @@ History
* Replaced deprecated 'source activate' by 'conda activate'.
* Removed ecmwf-api-client installation as this is now included in SICOR.
* Pinned scipy to 1.1.0 in environment_gms_preprocessing.yml to make CI work for now.
* Revised docker container setup files.
* Revised docker container
setup files.
0.18.6 (2020-10-12)
......
......@@ -3,7 +3,11 @@ include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
include README.rst
exclude travis_pypi_setup.py
recursive-exclude .github *
recursive-exclude benchmarks *
recursive-exclude examples *
recursive-exclude tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
......
......@@ -24,5 +24,5 @@
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.18.8'
__versionalias__ = '20201013.02'
__version__ = '0.18.9'
__versionalias__ = '20201013.03'
......@@ -39,7 +39,7 @@ version = {}
with open("gms_preprocessing/version.py", encoding='utf-8') as version_file:
exec(version_file.read(), version)
requirements = [
req = [
'arosics>=1.0.0',
'cerberus',
'dill',
......@@ -79,8 +79,16 @@ requirements = [
# fmask # conda install -c conda-forge python-fmask
# 'pyhdf', # conda install --yes -c conda-forge pyhdf
]
setup_requirements = [] # TODO(danschef): put setup requirements (distutils extensions, etc.) here
test_requirements = requirements + ['coverage', 'nose', 'nose2', 'nose-htmloutput', 'rednose']
req_setup = ['setuptools-git'] # needed for package_data version controlled by GIT
req_test = ['coverage', 'nose', 'nose2', 'nose-htmloutput', 'rednose']
req_doc = ['sphinx-argparse', 'sphinx_rtd_theme']
req_lint = ['flake8', 'pycodestyle', 'pydocstyle']
req_dev = req_setup + req_test + req_doc + req_lint
setup(
author="Daniel Scheffler",
......@@ -97,19 +105,24 @@ setup(
'Programming Language :: Python :: 3.9',
],
description="GeoMultiSens - Scalable Multi-Sensor Analysis of Remote Sensing Data",
extras_require={
"doc": req_doc,
"test": req_test,
"lint": req_lint,
"dev": req_dev
},
keywords='gms_preprocessing',
include_package_data=True,
install_requires=requirements,
install_requires=req,
license="GPL-3.0-or-later",
long_description=readme,
name='gms_preprocessing',
# package_data={"gms_preprocessing": ["database/**/**/**/*"]},
package_data={"database": ["gms_preprocessing/database/*"]},
package_data={"gms_preprocessing": ["database/**/**/*"]},
package_dir={'gms_preprocessing': 'gms_preprocessing'},
packages=find_packages(exclude=['tests*']), # searches for packages with an __init__.py and returns a list
packages=find_packages(exclude=['.github', 'benchmarks', 'docs', 'examples', 'tests*']),
scripts=["bin/run_gms.py", "bin/run_gms.sh"],
test_suite='tests',
tests_require=test_requirements,
tests_require=req_test,
url='https://gitext.gfz-potsdam.de/geomultisens/gms_preprocessing',
version=version['__version__'],
zip_safe=False
......
Markdown is supported
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