Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 0638bb4

Browse files
committed
service: activitypub-webhook-relay: Fix package install by fixing version to not use setuptools_scm while in monorepo
Related: https://github.com/pypa/setuptools_scm/blob/e9cbb5a68b3ae6d5c549bda293ef60bb5ec8ec7e/src/setuptools_scm/_integration/pyproject_reading.py#L68-L73 Related: #1315 Signed-off-by: John Andersen <[email protected]>
1 parent 06e9fcd commit 0638bb4

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
CONTRIBUTING
2+
============
3+
4+
Create new virtual environment
5+
6+
.. code-block:: console
7+
8+
$ python -m venv .venv
9+
$ . .venv/bin/activate
10+
11+
Install in development mode
12+
13+
.. code-block:: console
14+
15+
$ pip install -e .[dev] ../../
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VERSION = "0.0.0"

service/activitypub-webhook-relay/pyproject.toml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
22
build-backend = "setuptools.build_meta"
33

4-
[tool.setuptools_scm]
5-
64
[tool.black]
75
exclude = '''
86
(

service/activitypub-webhook-relay/setup.cfg

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[metadata]
22
name = activitypub-webhook-relay
3-
description = DFFML blank activitypub-webhook-relay
3+
description = DFFML service activitypub-webhook-relay
4+
version = attr: activitypub_webhook_relay.version.VERSION
45
long_description = file: README.rst
56
author = Unknown
67
author_email = [email protected]
@@ -25,8 +26,6 @@ zip_safe = False
2526
include_package_data = True
2627
packages = find:
2728
# entry_points = file: entry_points.txt
28-
setup_requires =
29-
setuptools_scm[toml]>=3.4.3
3029
install_requires =
3130
quart
3231
tomli_w

0 commit comments

Comments
 (0)