Skip to content

Commit

Permalink
fixed versioning of source dist
Browse files Browse the repository at this point in the history
  • Loading branch information
strawpants committed Feb 9, 2024
1 parent 8448656 commit a636a7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 46,245 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ classifiers = [
dependencies = [ "pandas >= 2.0", "pyaml >= 23.9.0", "scipy", "xarray >= 2023.1.0",
"numba", "sparse","importlib_metadata","requests","openpyxl"]

[tool.setuptools_scm]
# empty for now

#For some reason specifying the xarray-backend as below is not working in toml (it's added in setup.py)
[project.entry-points."xarray.backends"]
icgem = "shxarray.io.shiobackend:ICGEMBackEntryPoint"
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@


from setuptools import setup,Extension
from setuptools_scm import get_version
from Cython.Build import cythonize
import Cython.Compiler.Options
import os
Expand Down Expand Up @@ -44,5 +45,6 @@ def listexts():
extensions=cythonize(extensions,language_level=3,annotate=True,gdb_debug=debug)

setup(
version = get_version(root='.', relative_to=__file__),
ext_modules=extensions
)
Loading

0 comments on commit a636a7e

Please sign in to comment.