# coding: utf8 # # Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES). # # This file is part of SLURP # (see https://github.com/CNES/slurp). # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # slurp setup configuration file # package setup main metadata [metadata] name = slurp-masks version = 0.1 author = Yannick TANGUY author_email = yannick.tanguy@cnes.fr url = https://github.com/CNES/slurp description = Smart Land Use Reconstruction Pipeline long_description = file:README.md long_description_content_type = text/markdown license_files = LICENSE platform = any keywords = slurp, LULC, mask, segmentation, classification classifiers = Development Status :: 4 - Beta Intended Audience :: Developers Intended Audience :: End Users/Desktop Intended Audience :: Science/Research Environment :: Console Topic :: Software Development :: Libraries :: Python Modules Operating System :: OS Independent Natural Language :: English Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3.10 Programming Language :: Cython [options] python_requires = >=3.10 package_dir = . = slurp packages = find: include_package_data = True # Packages dependencies install_requires = argparse # Python Argument Parser argcomplete # Autocompletion Argparse tqdm rasterio scikit-image scikit-learn shareloc geopandas scikit-learn-intelex matplotlib Cython pydantic psutil [options.extras_require] dev = pre-commit isort>=5.8.0 # Check imports black>=21.5b0 # PEP8 format code flake8>=3.9.1 # General linter flake8-comprehensions>=3.4.0 # Check list/dict/set flake8-bugbear>=21.4.3 # Add some rules to flake8 pylint # General linter setuptools_scm # versions from git tag virtualenv configupdater twine # for pypi upload pytest pytest-cov pygments tox docs = sphinx sphinx_rtd_theme sphinx_autoapi # deploy data from the designed directory into package [options.package_data] slurp = data/* slurp.tools.logs = *.json # entry points cli scripts [options.entry_points] console_scripts = slurp_watermask = slurp.masks.watermask:main slurp_urbanmask = slurp.masks.urbanmask:main slurp_shadowmask = slurp.masks.shadowmask:main slurp_stackmasks = slurp.masks.stack_masks:main slurp_vegetationmask = slurp.masks.vegetationmask:main slurp_prepare = slurp.prepare.prepare:main ; slurp_compute_all_masks = 'bash_runner:scripts/compute_all_masks.sh' # Specify no universal wheel supported (only Python3) [bdist_wheel] universal = false # Flake8 configuration [flake8] exclude = .git, venv, build, dist, tests/test_output, docs # Add flake8 ignored rules ignore = # from black compatibility extend-ignore = E203, W503 max-complexity = 15 max-line-length = 80 #show-source = true # errors types are not selected by default, so add them to your selection select = E,F,W,C,B9,C4,B