Skip to content

Commit

Permalink
Don't use setuptools_scm & specify version manually
Browse files Browse the repository at this point in the history
If trying to install this package in an offline manner (see also:
linien-org/linien#378 ), the metadata pip will
put for this installation might be 0.0.0, due to potential compatiblitiy
issues with setuptools on the target host (RedPitaya probably). See
also:

pypa/setuptools-scm#636
  • Loading branch information
doronbehar committed Aug 2, 2024
1 parent 1bc29ae commit 0f8e100
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[build-system]
requires = ["setuptools >= 30.3.0", "wheel", "setuptools_scm[toml]>=6.2"]
requires = ["setuptools >= 30.3.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pyrp3"
version = "2.0.1"
description = "Python utilities for RedPitaya"
dynamic = ["version"]
authors = [
{ name = "Pierre Cladé", email = "[email protected]" },
{ name = "Benjamin Wiegand", email = "[email protected]" },
Expand Down Expand Up @@ -41,14 +41,11 @@ dev = [
"flake8>=5.0.4",
"isort>=5.10.1",
"flake8-pyproject>=1.2.3",
"setuptools_scm>=6.2",
]

[tool.setuptools]
packages = ["pyrp3"]

[tool.setuptools_scm]

[project.urls]
homepage = "https://github.com/linien-org/pyrp3/"
repository = "https://github.com/linien-org/pyrp3/"
Expand Down

0 comments on commit 0f8e100

Please sign in to comment.