From ebb4932c2723e7fb8755f0ba59ca2e5de5ad9e03 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 7 Nov 2024 13:41:35 +0200 Subject: [PATCH] fix: import, name and initial version --- pyproject.toml | 8 ++++---- src/glmath/__init__.py | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e7766b7..17ded65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] version = "1.0.0" requires-python = ">= 3.8" -name = "pysphereproj" +name = "glmath" dependencies = [ "numpy" ] @@ -16,8 +16,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj" -Issues = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj/issues" +Homepage = "https://github.com/guilhem_lavaux/glmath" +Issues = "https:///github.com/guilhem_lavaux/glmath/issues" [build-system] requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython", "python-semantic-release"] @@ -29,7 +29,7 @@ version_toml = [ "pyproject.toml:project.version", ] version_variables = [ - "src/sphereproj/__init__.py:__version__" + "src/glmath/__init__.py:__version__" ] build_command_env = [] commit_message = "{version}\n\nAutomatically generated by python-semantic-release" diff --git a/src/glmath/__init__.py b/src/glmath/__init__.py index e69de29..7900cc4 100644 --- a/src/glmath/__init__.py +++ b/src/glmath/__init__.py @@ -0,0 +1,2 @@ +from _cosmomath import * +__version__ = "1.0.0"