TNO Intern

Commit 8e12db9b authored by Hen Brett's avatar Hen Brett 🐔
Browse files

allowing the package to be uploaded to pypi

parent a92e7e4d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -8,4 +8,11 @@
    <orderEntry type="jdk" jdkName="Python 3.13 (pythermogis) (2)" jdkType="Python SDK" />
    <orderEntry type="sourceFolder" forTests="false" />
  </component>
  <component name="PyNamespacePackagesService">
    <option name="namespacePackageFolders">
      <list>
        <option value="$MODULE_DIR$/pythermogis/resources" />
      </list>
    </option>
  </component>
</module>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
# PyThermoGIS

This is a python project to easily enable batch running of the ThermoGIS Techno Economic App from a docker container
This is a python API to the ThermoGIS Java code calculations
+42 −12
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ environments:
      - conda: https://conda.anaconda.org/conda-forge/win-64/zstandard-0.23.0-py313ha7868ed_1.conda
      - pypi: https://files.pythonhosted.org/packages/0b/f7/85273299ab57117850cc0a936c64151171fac4da49bc6fba0dad984a7c5f/affine-2.4.0-py3-none-any.whl
      - pypi: https://files.pythonhosted.org/packages/77/06/bb80f5f86020c4551da315d78b3ab75e8228f89f0162f2c3a819e407941a/attrs-25.3.0-py3-none-any.whl
      - pypi: https://files.pythonhosted.org/packages/84/c2/80633736cd183ee4a62107413def345f7e6e3c01563dbca1417363cf957e/build-1.2.2.post1-py3-none-any.whl
      - pypi: https://files.pythonhosted.org/packages/f3/2d/980323fb5ec1ef369604b61ba259a41d0336cc1a85b639ed7bd210bd1290/cftime-1.6.4.post1-cp313-cp313-win_amd64.whl
      - pypi: https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl
      - pypi: https://files.pythonhosted.org/packages/e9/da/824b92d9942f4e472702488857914bdd50f73021efea15b4cad9aca8ecef/click_plugins-1.1.1-py2.py3-none-any.whl
@@ -107,6 +108,7 @@ environments:
      - pypi: https://files.pythonhosted.org/packages/27/5d/0deb16d228362a097ee3258d0a887c9c0add4b9678bb4847b08a241e124d/pyogrio-0.10.0-cp313-cp313-win_amd64.whl
      - pypi: https://files.pythonhosted.org/packages/05/e7/df2285f3d08fee213f2d041540fa4fc9ca6c2d44cf36d3a035bf2a8d2bcc/pyparsing-3.2.3-py3-none-any.whl
      - pypi: https://files.pythonhosted.org/packages/98/df/68a2b7f5fb6400c64aad82d72bcc4bc531775e62eedff993a77c780defd0/pyproj-3.7.1-cp313-cp313-win_amd64.whl
      - pypi: https://files.pythonhosted.org/packages/bd/24/12818598c362d7f300f18e74db45963dbcb85150324092410c8b49405e42/pyproject_hooks-1.2.0-py3-none-any.whl
      - pypi: https://files.pythonhosted.org/packages/df/88/9db5f49ebfdd9c12365e4cac76c34ccb1a642b1c8cbab4124b3c681495de/rasterio-1.4.3-cp313-cp313-win_amd64.whl
      - pypi: https://files.pythonhosted.org/packages/fb/b0/2c74f302512fbd24d68fbba0ec6b650b33ef83e398daeb0a2bb1a4cd641c/rioxarray-0.18.2-py3-none-any.whl
      - pypi: https://files.pythonhosted.org/packages/0d/76/77cf2ac1f2a9cc00c073d49e1e16244e389dd88e2490c91d84e1e3e4d126/scipy-1.15.2-cp313-cp313-win_amd64.whl
@@ -213,14 +215,47 @@ packages:
  - vc14_runtime >=14.29.30139
  constrains:
  - libbrotlicommon 1.1.0 h2466b09_2
  arch: x86_64
  platform: win
  license: MIT
  license_family: MIT
  purls:
  - pkg:pypi/brotli?source=hash-mapping
  size: 322309
  timestamp: 1725268431915
- pypi: https://files.pythonhosted.org/packages/84/c2/80633736cd183ee4a62107413def345f7e6e3c01563dbca1417363cf957e/build-1.2.2.post1-py3-none-any.whl
  name: build
  version: 1.2.2.post1
  sha256: 1d61c0887fa860c01971625baae8bdd338e517b836a2f70dd1f7aa3a6b2fc5b5
  requires_dist:
  - packaging>=19.1
  - pyproject-hooks
  - colorama ; os_name == 'nt'
  - importlib-metadata>=4.6 ; python_full_version < '3.10.2'
  - tomli>=1.1.0 ; python_full_version < '3.11'
  - furo>=2023.8.17 ; extra == 'docs'
  - sphinx~=7.0 ; extra == 'docs'
  - sphinx-argparse-cli>=1.5 ; extra == 'docs'
  - sphinx-autodoc-typehints>=1.10 ; extra == 'docs'
  - sphinx-issues>=3.0.0 ; extra == 'docs'
  - build[uv,virtualenv] ; extra == 'test'
  - filelock>=3 ; extra == 'test'
  - pytest>=6.2.4 ; extra == 'test'
  - pytest-cov>=2.12 ; extra == 'test'
  - pytest-mock>=2 ; extra == 'test'
  - pytest-rerunfailures>=9.1 ; extra == 'test'
  - pytest-xdist>=1.34 ; extra == 'test'
  - wheel>=0.36.0 ; extra == 'test'
  - setuptools>=42.0.0 ; python_full_version < '3.10' and extra == 'test'
  - setuptools>=56.0.0 ; python_full_version == '3.10.*' and extra == 'test'
  - setuptools>=56.0.0 ; python_full_version == '3.11.*' and extra == 'test'
  - setuptools>=67.8.0 ; python_full_version >= '3.12' and extra == 'test'
  - build[uv] ; extra == 'typing'
  - importlib-metadata>=5.1 ; extra == 'typing'
  - mypy~=1.9.0 ; extra == 'typing'
  - tomli ; extra == 'typing'
  - typing-extensions>=3.7.4.3 ; extra == 'typing'
  - uv>=0.1.18 ; extra == 'uv'
  - virtualenv>=20.0.35 ; extra == 'virtualenv'
  requires_python: '>=3.8'
- conda: https://conda.anaconda.org/conda-forge/win-64/bzip2-1.0.8-h2466b09_7.conda
  sha256: 35a5dad92e88fdd7fc405e864ec239486f4f31eec229e31686e61a140a8e573b
  md5: 276e7ffe9ffe39688abc665ef0f45596
@@ -260,8 +295,6 @@ packages:
  - ucrt >=10.0.20348.0
  - vc >=14.2,<15
  - vc14_runtime >=14.29.30139
  arch: x86_64
  platform: win
  license: MIT
  license_family: MIT
  purls:
@@ -323,8 +356,6 @@ packages:
  - ucrt >=10.0.20348.0
  - vc >=14.2,<15
  - vc14_runtime >=14.29.30139
  arch: x86_64
  platform: win
  license: MIT
  license_family: MIT
  purls:
@@ -902,8 +933,6 @@ packages:
  - ucrt >=10.0.20348.0
  - _python_abi3_support 1.*
  - python >=3.9
  arch: x86_64
  platform: win
  license: MIT
  license_family: MIT
  purls:
@@ -1100,6 +1129,11 @@ packages:
  requires_dist:
  - certifi
  requires_python: '>=3.10'
- pypi: https://files.pythonhosted.org/packages/bd/24/12818598c362d7f300f18e74db45963dbcb85150324092410c8b49405e42/pyproject_hooks-1.2.0-py3-none-any.whl
  name: pyproject-hooks
  version: 1.2.0
  sha256: 9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913
  requires_python: '>=3.7'
- conda: https://conda.anaconda.org/conda-forge/noarch/pysocks-1.7.1-pyh09c184e_7.conda
  sha256: d016e04b0e12063fbee4a2d5fbb9b39a8d191b5a0042f0b8459188aedeabb0ca
  md5: e2fd202833c4a981ce8a65974fe4abd1
@@ -1198,8 +1232,6 @@ packages:
  depends:
  - python >=3.13.0rc2,<3.14.0a0
  - python_abi 3.13.* *_cp313
  arch: x86_64
  platform: win
  license: BSD-3-Clause
  license_family: BSD
  purls:
@@ -1602,8 +1634,6 @@ packages:
  - ucrt >=10.0.20348.0
  - vc >=14.2,<15
  - vc14_runtime >=14.29.30139
  arch: x86_64
  platform: win
  license: BSD-3-Clause
  license_family: BSD
  purls:
+2 −1
Original line number Diff line number Diff line
[project]
authors = ["Brett <hen.brett@tno.nl>"]
channels = ["conda-forge"]
description = "Add a short description here"
description = "This is a python API to the ThermoGIS java code"
name = "pythermogis"
platforms = ["win-64"]
version = "0.1.0"
@@ -20,5 +20,6 @@ twine = ">=6.1.0,<7"

[pypi-dependencies]
pygridsio = ">=0.3.11, <0.4"
build = "*"

+18 −10
Original line number Diff line number Diff line
@@ -4,18 +4,26 @@ build-backend = "setuptools.build_meta"

[project]
name = "pythermogis"
version = "0.1.0"
description = "This is a python API to the ThermoGIS java code"
authors = [{name = "Hen Brett", email = "hen.brett@tno.nl"}]
version = "0.1.5"
description = "This is a Python API to the ThermoGIS Java code"
authors = [{ name = "Brett", email = "hen.brett@tno.nl" }]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.13"
requires-python = ">=3.11"
dependencies = [
    "jpype1",
    "jpype1>=1.5.2,<2",
    "xarray==2024.9.0.*",
    "pandas>=2.2.3,<3",
    "pytz>=2024.1,<2025",
    "pygridsio>=0.3.11,<0.4"
]

[tool.setuptools]
packages = ["pythermogis"]
[tool.setuptools.packages.find]
where = ["."]
include = ["pythermogis*"]  # Ensure all submodules are included

[environments]
default = { dependencies = ["python", "setuptools", "wheel", "twine"] }
 No newline at end of file
[tool.setuptools.package-data]
pythermogis = ["*.py"]

[tool.twine]
repository = "pypi"
Loading