Skip to content

Commit

Permalink
Comments out setuptools_scm as fails when not in a git repository (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpshelio authored Nov 23, 2023
1 parent 11756dc commit be766a5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ch04packaging/03Packaging.ipynb.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
[tool.setuptools.packages.find]
include = ["greetings*"]

[tool.setuptools_scm]

# Add setuptools_scm if you need to generate version numbers from the git hash
#[tool.setuptools_scm]

# %% [markdown]
# We can now install this "package" with pip:
Expand Down Expand Up @@ -290,7 +290,8 @@ def process():
[tool.setuptools.packages.find]
include = ["greetings*"]

[tool.setuptools_scm]
# Add setuptools_scm if you need to generate version numbers from the git hash
#[tool.setuptools_scm]

# %% language="bash"
# cd greetings_repo
Expand Down Expand Up @@ -367,7 +368,8 @@ def process():
[tool.setuptools.packages.find]
include = ["greetings*"]

[tool.setuptools_scm]
# Add setuptools_scm if you need to generate version numbers from the git hash
#[tool.setuptools_scm]

# %% [markdown]
# When installing the package now, pip will also install the dependencies automatically.
Expand Down Expand Up @@ -625,7 +627,8 @@ def test_greeter(fixture):
include = ["greetings*"]
exclude = ["tests*"]

[tool.setuptools_scm]
# Add setuptools_scm if you need to generate version numbers from the git hash
#[tool.setuptools_scm]

# %% [markdown]
# ### Developer Install
Expand Down

0 comments on commit be766a5

Please sign in to comment.