Skip to content

Commit

Permalink
Add pixi and pyinstaller build
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Dec 17, 2023
1 parent 8ac85ed commit 9ab6773
Show file tree
Hide file tree
Showing 10 changed files with 2,993 additions and 45 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GitHub syntax highlighting
pixi.lock linguist-language=YAML

7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,6 @@ docs/auto_examples
gistim/examples/data/

plugin/qgistim.zip
# pixi environments
.pixi/

21 changes: 0 additions & 21 deletions environment.yml

This file was deleted.

9 changes: 1 addition & 8 deletions gistim/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
import pkg_resources

import gistim.compute

# version
try:
__version__ = pkg_resources.get_distribution(__name__).version
except pkg_resources.DistributionNotFound:
# package is not installed
pass
__version__ = "0.5.3"
8 changes: 6 additions & 2 deletions gistim/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
from pathlib import Path
from typing import Any, Dict

import timml
# Make sure we explicitly import besselaesnumba for pyinstaller.
# It's a dynamic import inside of timml.
from timml.besselaesnumba import besselaesnumba # noqa: F401
import ttim

import gistim


Expand Down Expand Up @@ -46,8 +52,6 @@ def write_configjson(path: Path, data: Dict[str, Any]) -> None:

def write_versions():
# Store version numbers
import timml
import ttim

versions = {
"timml": timml.__version__,
Expand Down
Loading

0 comments on commit 9ab6773

Please sign in to comment.