# Copyright (c) 2021 Centre National d'Etudes Spatiales (CNES). # # This file is part of CARS # (see https://github.com/CNES/cars). # # 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. # # CARS setup configuration file # package setup main metadata [metadata] name = cars author = CNES author_email = cars@cnes.fr url = https://cars.readthedocs.io/ project_urls = Source = https://github.com/CNES/cars Documentation = https://cars.readthedocs.io/en/latest/ description = A satellite multi view stereo pipeline long_description = file:README.md long_description_content_type = text/markdown license = Apache License 2.0 license_files = LICENSE platform = any keywords: cars, 3D, DEM, pandora, photogrammetry 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 License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3.8 [options] python_requires = >=3.8 setup_requires = setuptools>=45 wheel setuptools_scm[toml]>=6.2 # Following https://pypi.org/project/setuptools-scm/ # cars packages dependencies install_requires = numpy>=1.17.0 scipy>=1.7.1,!=1.10.0 matplotlib affine rasterio>=1.3.0 dask>=2021.10.0 distributed>=2021.10.0 dask-jobqueue>=0.7.3 json-checker xarray tqdm netCDF4>=1.5.3 Shapely Fiona pyproj utm pandas urllib3<2.0,>=1.21.1 laspy[laszip] tbb==2020.3.254 # Intel optim for numba: KO for 2021 versions numba pandora[sgm]==1.6.1 cars-rasterize==0.2.* cars-resample==0.1.* vlsift==0.1.* shareloc==0.2.1 package_dir = . = cars packages = find: [options.extras_require] # [dev] mode dependencies: include notebook and doc dev = pytest pytest-cov pre-commit isort>=5.8.0 # Check imports black>=24.1a1 # PEP8 format code flake8>=3.9.1 # General linter flake8-comprehensions>=3.4.0 # Check list/dict/set flake8-bugbear>=21.4.3,<24.0.0 # Add some rules to flake8 jupyter_contrib_nbextensions # Clean notebooks pylint>=2.8.12,<3.0.0 # General linter with more rules setuptools_scm # version from git tag virtualenv configupdater twine # for pypi upload notebook<7.0.0 # for pytest test_notebooks.py bokeh==2.4.3 # for pytest test_notebooks.py sphinx # for cars doc sphinx-rtd-theme # for cars doc graphviz # for cars doc memory_profiler memray dash plotly build # for cars build # [docs] mode dependencies docs = sphinx sphinx-rtd-theme sphinx_autoapi graphviz sphinx_tabs==3.4.0 sphinx-copybutton # [notebook] mode dependencies notebook = notebook bokeh rise # [pandora_mccnn] add heavy mccnn capability for dense matching pandora already install in main requires pandora_mccnn = pandora_plugin_mccnn==1.3.0 [options.package_data] cars = orchestrator/cluster/dask_config/*.yaml, conf/geoid/*.grd, conf/geoid/*.hdr, pipelines/conf_pipeline/*.json, applications/dense_matching/loaders/*.json # cars entry points cli scripts [options.entry_points] console_scripts = cars = cars.cars:main cars-starter = cars.starter:main cars-extractroi = cars.extractroi:main cars-dashboard = cars.orchestrator.tiles_profiler:main # Specify no universal wheel supported (only Python3) [bdist_wheel] universal = false # Flake8 configuration [flake8] exclude = .git, venv, build, dist, tests/test_output, # 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