Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ src/sillybos/_version.py

# OS
.DS_Store

# Local secrets (the PyPI token for the one-off pointer uploads)
.env
20 changes: 20 additions & 0 deletions pointers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Pointer packages

Three names on PyPI that exist only to point at `sillybos`: the Latin
spelling, `sittybos`, and the two likely misspellings, `sittybus` and
`sillybus`. Each is an empty package whose one dependency is `sillybos`,
so `pip install sittybos` installs the real thing, and whose project page
says what happened.

They are held so that nobody else can register them: once a library has
users, a misspelling of its name with something unpleasant inside is a
cheap attack, and PyPI keeps no name without a release behind it.

They are published once, by hand, and never again:

```bash
cd pointers/sittybos && uv build && uv publish # with a PyPI token
```

They are deliberately outside the release pipeline, the tests and the
package build: nothing here ever changes version with `sillybos`.
21 changes: 21 additions & 0 deletions pointers/sillybus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# sillybus

You probably meant **[sillybos](https://pypi.org/project/sillybos/)**, and
this package installs it: `sillybus` is the misspelling of sillybos that is
easiest to make. There is nothing else in here, and there never will be; it
exists so that the name points at the right place rather than at whatever
someone else might put under it.

```bash
pip install sillybos
```

sillybos (say it *SIL-lee-boss*) decides, before any image library or PDF
renderer opens a file, whether it is one of the formats you meant to read,
within the limits you expect, and if not, why. The name is the Greek
σίλλυβος, Latin *sittybus*: the little parchment tag that hung from a
rolled scroll in an ancient library, so a reader could tell what a scroll
was without unrolling it.

The code and the documentation are at
[github.com/scattercode/sillybos](https://github.com/scattercode/sillybos).
22 changes: 22 additions & 0 deletions pointers/sillybus/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# A pointer at sillybos, held so the name cannot be taken by someone else.
# Published once by hand (see ../README.md); never released with sillybos.
[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"

[project]
name = "sillybus"
version = "0.0.1"
description = "You probably meant sillybos. This package installs it."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
dependencies = ["sillybos"]
classifiers = ["Development Status :: 7 - Inactive"]

[project.urls]
Homepage = "https://github.com/scattercode/sillybos"
"The real package" = "https://pypi.org/project/sillybos/"

[tool.setuptools]
py-modules = []
22 changes: 22 additions & 0 deletions pointers/sittybos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# sittybos

You probably meant **[sillybos](https://pypi.org/project/sillybos/)**, and
this package installs it: `sittybos` is the Greek σίλλυβος with the Latin
stem *sittyb-* and the Greek ending, the half-way form a reader is likely to
type. There is nothing else in here, and there never will be; it exists so
that the name points at the right place rather than at whatever someone else
might put under it.

```bash
pip install sillybos
```

sillybos (say it *SIL-lee-boss*) decides, before any image library or PDF
renderer opens a file, whether it is one of the formats you meant to read,
within the limits you expect, and if not, why. The name is the Greek
σίλλυβος, Latin *sittybus*: the little parchment tag that hung from a
rolled scroll in an ancient library, so a reader could tell what a scroll
was without unrolling it.

The code and the documentation are at
[github.com/scattercode/sillybos](https://github.com/scattercode/sillybos).
22 changes: 22 additions & 0 deletions pointers/sittybos/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# A pointer at sillybos, held so the name cannot be taken by someone else.
# Published once by hand (see ../README.md); never released with sillybos.
[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"

[project]
name = "sittybos"
version = "0.0.1"
description = "You probably meant sillybos. This package installs it."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
dependencies = ["sillybos"]
classifiers = ["Development Status :: 7 - Inactive"]

[project.urls]
Homepage = "https://github.com/scattercode/sillybos"
"The real package" = "https://pypi.org/project/sillybos/"

[tool.setuptools]
py-modules = []
21 changes: 21 additions & 0 deletions pointers/sittybus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# sittybus

You probably meant **[sillybos](https://pypi.org/project/sillybos/)**, and
this package installs it: `sittybus` is the Latin spelling of the Greek
σίλλυβος, and the form used in English scholarship. There is nothing else in
here, and there never will be; it exists so that the name points at the right
place rather than at whatever someone else might put under it.

```bash
pip install sillybos
```

sillybos (say it *SIL-lee-boss*) decides, before any image library or PDF
renderer opens a file, whether it is one of the formats you meant to read,
within the limits you expect, and if not, why. The name is the Greek
σίλλυβος, Latin *sittybus*: the little parchment tag that hung from a
rolled scroll in an ancient library, so a reader could tell what a scroll
was without unrolling it.

The code and the documentation are at
[github.com/scattercode/sillybos](https://github.com/scattercode/sillybos).
22 changes: 22 additions & 0 deletions pointers/sittybus/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# A pointer at sillybos, held so the name cannot be taken by someone else.
# Published once by hand (see ../README.md); never released with sillybos.
[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"

[project]
name = "sittybus"
version = "0.0.1"
description = "You probably meant sillybos. This package installs it."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
dependencies = ["sillybos"]
classifiers = ["Development Status :: 7 - Inactive"]

[project.urls]
Homepage = "https://github.com/scattercode/sillybos"
"The real package" = "https://pypi.org/project/sillybos/"

[tool.setuptools]
py-modules = []
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ version-file = "src/sillybos/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/sillybos"]

[tool.hatch.build.targets.sdist]
# The pointer packages are published on their own; keep them out of the sdist.
exclude = ["pointers"]

[tool.ruff]
line-length = 100

Expand Down
Loading