kite
Advanced tools
@@ -6,4 +6,4 @@ Installation | ||
| Debian / Ubuntu | ||
| --------------- | ||
| System-wide installation on Debian / Ubuntu | ||
| ------------------------------------------- | ||
@@ -15,25 +15,33 @@ As a mandatory prerequisite you have to install Pyrocko, visit `Pyrocko installation instructions <https://pyrocko.org/docs/current/install/index.html>`_ for details. | ||
| sudo apt-get install python3-dev python3-pyqt5 python3-pyqt5 python3-pyqt5.qtopengl python3-scipy python3-numpy python3-pyqtgraph | ||
| # satisfy Kite's requirements with system packages | ||
| sudo apt-get install python3-dev python3-pyqt5 python3-pyqt5 python3-pyqt5.qtopengl python3-scipy python3-numpy python3-pyqtgraph python3-geojson python3-setuptools python3-setuptools-scm | ||
| git clone https://github.com/Turbo87/utm | ||
| cd utm | ||
| sudo python3 setup.py install | ||
| # install the utm package with pip (no system package available) | ||
| sudo pip3 install utm | ||
| # get Kite's source code with git | ||
| git clone https://github.com/pyrocko/kite | ||
| cd kite | ||
| sudo python3 setup.py install | ||
| # compile and install with pip, but disable automatic dependency resolution (--no-deps) | ||
| sudo pip3 install . --no-build-isolation --no-deps | ||
| PIP | ||
| --- | ||
| An installation through ``pip`` requires the same prerequisites as above: | ||
| Installation with ``pip`` into virtual environment ``venv`` | ||
| ----------------------------------------------------------- | ||
| .. code-block :: sh | ||
| :caption: Installation through pip | ||
| :caption: Installation into venv | ||
| sudo pip3 install utm | ||
| sudo pip3 install git+https://github.com/pyrocko/kite | ||
| # create and activate venv | ||
| python3 -m venv venv | ||
| source venv/bin/activate | ||
| # get Kite's source code with git | ||
| git clone https://github.com/pyrocko/kite | ||
| cd kite | ||
| # install prerequisites with pip, compile and install Kite | ||
| pip install . | ||
| MacOS (Sierra, MacPorts) | ||
@@ -40,0 +48,0 @@ ------------------------ |
| Metadata-Version: 2.1 | ||
| Name: kite | ||
| Version: 1.5.6 | ||
| Version: 1.5.7 | ||
| Summary: InSAR unwrapped surface displacement processing for earthquake modelling. | ||
@@ -5,0 +5,0 @@ Author-email: Marius Paul Isken <mi@gfz-potsdam.de>, Henriette Sudhaus <hsudhaus@ifg.uni-kiel.de> |
| numpy>=1.17.3 | ||
| scipy>=1.8.0 | ||
| PyQt5>=5.15.7 | ||
| pyqtgraph==0.12.4 | ||
| scipy>=1.6.0 | ||
| PyQt5>=5.15.0 | ||
| pyqtgraph==0.11.0 | ||
| pyrocko>=2022.06.10 | ||
@@ -15,5 +15,5 @@ utm>=0.7.0 | ||
| [gdal] | ||
| gdal>=3.5.0 | ||
| gdal>=3.2.0 | ||
| [tests] | ||
| pytest |
+1
-1
@@ -159,3 +159,3 @@ import logging | ||
| self.slider.setValue(val) | ||
| self.slider.setValue(int(round(val))) | ||
@@ -162,0 +162,0 @@ def setRange(self, vmin, vmax): |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: kite | ||
| Version: 1.5.6 | ||
| Version: 1.5.7 | ||
| Summary: InSAR unwrapped surface displacement processing for earthquake modelling. | ||
@@ -5,0 +5,0 @@ Author-email: Marius Paul Isken <mi@gfz-potsdam.de>, Henriette Sudhaus <hsudhaus@ifg.uni-kiel.de> |
+6
-6
| [build-system] | ||
| requires = [ | ||
| "wheel", | ||
| "setuptools >= 61.0.0", | ||
| "setuptools >= 52.0.0", | ||
| "oldest-supported-numpy", | ||
| "setuptools_scm[toml]>=6.2", | ||
| "setuptools_scm[toml]>=5.0", | ||
| ] | ||
@@ -37,5 +37,5 @@ build-backend = "setuptools.build_meta" | ||
| "numpy>=1.17.3", | ||
| "scipy>=1.8.0", | ||
| "PyQt5>=5.15.7", | ||
| "pyqtgraph==0.12.4", | ||
| "scipy>=1.6.0", | ||
| "PyQt5>=5.15.0", | ||
| "pyqtgraph==0.11.0", | ||
| "pyrocko>=2022.06.10", | ||
@@ -52,3 +52,3 @@ "utm>=0.7.0", | ||
| [project.optional-dependencies] | ||
| gdal = ["gdal>=3.5.0"] | ||
| gdal = ["gdal>=3.2.0"] | ||
| development = ["flake8", "black", "pre-commit"] | ||
@@ -55,0 +55,0 @@ tests = ["pytest"] |
+60
-1
| #!/usr/bin/env python3 | ||
| import os | ||
| import platform | ||
| import sys | ||
| import tempfile | ||
@@ -8,4 +9,8 @@ from distutils.sysconfig import get_python_inc | ||
| from pkg_resources import parse_version | ||
| from setuptools import Extension, setup | ||
| from setuptools import __version__ as setuptools_version | ||
| have_pep621_support = parse_version(setuptools_version) >= parse_version("61.0.0") | ||
| try: | ||
@@ -121,2 +126,55 @@ import numpy | ||
| if not have_pep621_support: | ||
| try: | ||
| import toml | ||
| except ImportError: | ||
| sys.exit( | ||
| """Your setuptools version is too old to support PEP621-compliant | ||
| installs. You may either update setuptools or, if this is not | ||
| possible, install the "toml" package (python3-toml package on | ||
| deb-based systems) to enable a fallback mechanism.""" | ||
| ) | ||
| tomldata = toml.load( | ||
| open(os.path.join(os.path.dirname(__file__), "pyproject.toml")) | ||
| ) | ||
| metadata = dict( | ||
| use_scm_version=True, | ||
| package_data={"kite": ["spool/res/*", "talpa/res/*"]}, | ||
| ext_package="kite", | ||
| ) | ||
| metadata["setup_requires"] = tomldata["build-system"]["requires"] | ||
| metadata["packages"] = tomldata["tool"]["setuptools"]["packages"] | ||
| for k in ["classifiers", "description", "name", "keywords"]: | ||
| metadata[k] = tomldata["project"][k] | ||
| metadata["license"] = tomldata["project"]["license"]["text"] | ||
| metadata["python_requires"] = tomldata["project"]["requires-python"] | ||
| first_author = list(tomldata["project"]["authors"])[0] | ||
| metadata["author"] = ", ".join( | ||
| author["name"] for author in tomldata["project"]["authors"] | ||
| ) | ||
| metadata["author_email"] = first_author["email"] | ||
| metadata["extras_require"] = {} | ||
| for k_opt in tomldata["project"]["optional-dependencies"]: | ||
| metadata["extras_require"][k_opt] = tomldata["project"][ | ||
| "optional-dependencies" | ||
| ][k_opt] | ||
| metadata["install_requires"] = tomldata["project"]["dependencies"] | ||
| metadata["entry_points"] = { | ||
| "console_scripts": [ | ||
| "%s = %s" % (k, v) for (k, v) in tomldata["project"]["scripts"].items() | ||
| ], | ||
| "gui_scripts": [ | ||
| "%s = %s" % (k, v) for (k, v) in tomldata["project"]["gui-scripts"].items() | ||
| ], | ||
| } | ||
| else: | ||
| metadata = {} | ||
| setup( | ||
@@ -140,3 +198,4 @@ ext_modules=[ | ||
| ), | ||
| ] | ||
| ], | ||
| **metadata, | ||
| ) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
3344045
0.08%13828
0.36%