Skip to content

Commit

Permalink
Remove _version.py from source lists
Browse files Browse the repository at this point in the history
  • Loading branch information
tharen committed Jan 22, 2024
1 parent 500c28a commit d54c2ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 0 additions & 1 deletion pynvel/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ fs.copyfile('_vollib.pxd')
python_sources = [
'__init__.py',
'__main__.py',
'_version.py',
'volume_height.py',
'behres.py',
# 'config.py',
Expand Down
14 changes: 9 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
requires = [
"numpy",
"cython",
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
"setuptools>=64",
"setuptools_scm[toml]>=8",
"wheel",
"meson",
"meson-python>=0.13.2",
# "ninja"
"meson-python>=0.15",
"ninja",
"patchelf ; platform_system != 'Windows'", ## Only linux???
]
build-backend = "mesonpy"

Expand Down Expand Up @@ -36,9 +37,12 @@ repository = "https://github.com/forest-modeling/PyNVEL"
[project.scripts]
pynvel = "pynvel.__main__:cli"

[tool.setuptools]
packages = ["pynvel",]

[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
version_scheme = "post-release"
# version_scheme = "guess-next-dev"
write_to = "pynvel/_version.py"
version_file = "pynvel/_version.py"

0 comments on commit d54c2ae

Please sign in to comment.