Skip to content

Commit f5a708c

Browse files
branchvabn
authored andcommitted
chore: rename to poetry-plugin-bundle
1 parent 63ce644 commit f5a708c

File tree

19 files changed

+26
-28
lines changed

19 files changed

+26
-28
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
id: cache
6262
with:
6363
path: .venv
64-
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
64+
key: venv-1-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
6565

6666
- name: Ensure cache is healthy
6767
if: steps.cache.outputs.cache-hit == 'true'

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
# Poetry bundle plugin
1+
# Poetry Plugin: Bundle
22

33
This package is a plugin that allows the bundling of Poetry projects into various formats.
44

5-
65
## Installation
76

87
The easiest way to install the `bundle` plugin is via the `plugin add` command of Poetry.
98

109
```bash
11-
poetry plugin add poetry-bundle-plugin
10+
poetry plugin add poetry-plugin-bundle
1211
```
1312

1413
If you used `pipx` to install Poetry you can add the plugin via the `pipx inject` command.
1514

1615
```bash
17-
pipx inject poetry poetry-bundle-plugin
16+
pipx inject poetry poetry-plugin-bundle
1817
```
1918

2019
Otherwise, if you used `pip` to install Poetry you can add the plugin packages via the `pip install` command.
2120

2221
```bash
23-
pip install poetry-bundle-plugin
22+
pip install poetry-plugin-bundle
2423
```
2524

26-
2725
## Usage
2826

2927
The plugin introduces a `bundle` command namespace that regroups commands to bundle the current project

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tool.poetry]
2-
name = "poetry-bundle-plugin"
2+
name = "poetry-plugin-bundle"
33
version = "0.1.0"
44
description = "Poetry plugin to bundle projects into various formats"
55
authors = ["Sébastien Eustace <[email protected]>"]
66
license = "MIT"
77
readme = "README.md"
88

99
packages = [
10-
{ include = "poetry_bundle_plugin", from = "src" }
10+
{ include = "poetry_plugin_bundle", from = "src" }
1111
]
1212

1313
include = [
@@ -24,7 +24,7 @@ pytest = "^6.2.3"
2424
pytest-mock = "^3.6.1"
2525

2626
[tool.poetry.plugins."poetry.application.plugin"]
27-
export = "poetry_bundle_plugin.plugin:BundleApplicationPlugin"
27+
export = "poetry_plugin_bundle.plugin:BundleApplicationPlugin"
2828

2929
[tool.black]
3030
target-version = ['py37']
File renamed without changes.
File renamed without changes.

src/poetry_bundle_plugin/bundlers/bundler_manager.py renamed to src/poetry_plugin_bundle/bundlers/bundler_manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
from typing import TYPE_CHECKING
44

5-
from poetry_bundle_plugin.exceptions import BundlerManagerError
5+
from poetry_plugin_bundle.exceptions import BundlerManagerError
66

77

88
if TYPE_CHECKING:
9-
from poetry_bundle_plugin.bundlers.bundler import Bundler
9+
from poetry_plugin_bundle.bundlers.bundler import Bundler
1010

1111

1212
class BundlerManager:
1313
def __init__(self) -> None:
14-
from poetry_bundle_plugin.bundlers.venv_bundler import VenvBundler
14+
from poetry_plugin_bundle.bundlers.venv_bundler import VenvBundler
1515

1616
self._bundler_classes: dict[str, type[Bundler]] = {}
1717

src/poetry_bundle_plugin/bundlers/venv_bundler.py renamed to src/poetry_plugin_bundle/bundlers/venv_bundler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from typing import TYPE_CHECKING
88
from typing import cast
99

10-
from poetry_bundle_plugin.bundlers.bundler import Bundler
10+
from poetry_plugin_bundle.bundlers.bundler import Bundler
1111

1212

1313
if TYPE_CHECKING:
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)