Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
cidrblock committed Aug 16, 2023
1 parent b244156 commit a5393ff
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 28 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pipac
# pip4a

A pip-like install for ansible collections.

Expand All @@ -23,8 +23,8 @@ $ git clone <collection_repo>
$ cd collection_repo
$ python -m venv venv
$ source venv/bin/activate
$ pip install pipac
$ pipac install -e .[test]
$ pip install pip4a
$ pip4a install -e .[test]
INFO Found collection name: ansible.scm from /home/bthornto/github/ansible.scm/galaxy.yml.
INFO Requirements file /home/bthornto/github/ansible.scm/requirements.txt is empty, skipping
INFO Installing python requirements from /home/bthornto/github/ansible.scm/test-requirements.txt
Expand All @@ -38,7 +38,7 @@ INFO Symlinking /home/bthornto/github/ansible.scm/venv/lib64/python3.11/site
### Tearing down the development environment

```
$ pipac uninstall ansible.scm
$ pip4a uninstall ansible.scm
INFO Found collection name: ansible.scm from /home/bthornto/github/ansible.scm/galaxy.yml.
INFO Requirements file /home/bthornto/github/ansible.scm/requirements.txt is empty, skipping
INFO Uninstalling python requirements from /home/bthornto/github/ansible.scm/test-requirements.txt
Expand All @@ -52,8 +52,8 @@ INFO Removed collection root: /home/bthornto/github/ansible.scm/venv/lib64/p
## Help

```
$ pipac --help
usage: pipac [-h] [--verbose] {install,uninstall} ...
$ pip4a --help
usage: pip4a [-h] [--verbose] {install,uninstall} ...
A pip-like ansible collection installer.
Expand All @@ -68,8 +68,8 @@ subcommands:
```

```
$ pipac install --help
usage: pipac install [-h] [-e] collection_specifier
$ pip4a install --help
usage: pip4a install [-h] [-e] collection_specifier
positional arguments:
collection_specifier Collection to install.
Expand All @@ -79,15 +79,15 @@ options:
-e, --editable Install editable.
Usage:
pipac install .
pipac install -e .
pipac install -e .[test]
python -m pipac install ansible.utils
pip4a install .
pip4a install -e .
pip4a install -e .[test]
python -m pip4a install ansible.utils
```

````
$ pipac uninstall --help
usage: pipac uninstall [-h] collection_specifier
$ pip4a uninstall --help
usage: pip4a uninstall [-h] collection_specifier
positional arguments:
collection_specifier Collection to uninstall.
Expand All @@ -96,8 +96,8 @@ options:
-h, --help show this help message and exit
Usage:
pipac install .
pipac install -e .
pipac install -e .[test]
python -m pipac install ansible.utils```
pip4a install .
pip4a install -e .
pip4a install -e .[test]
python -m pip4a install ansible.utils```
````
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ readme = "README.md"
requires-python = ">=3.9"

[project.scripts]
pipac = "pipac.cli:main"
pip4a = "pip4a.cli:main"

[project.urls]
changelog = "https://github.com/ansible-community/pipac/releases"
Expand Down Expand Up @@ -261,7 +261,7 @@ optional-dependencies.test = {file = [".config/requirements-test.txt"]}

[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/pipac/_version.py"
write_to = "src/pip4a/_version.py"

[tool.tomlsort]
all = true
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions src/pip4a/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# file generated by setuptools_scm
# don't change, don't track in version control
__version__ = version = '0.1.dev14'
__version_tuple__ = version_tuple = (0, 1, 'dev14')
File renamed without changes.
8 changes: 4 additions & 4 deletions src/pipac/arg_parser.py → src/pip4a/arg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ def parse() -> argparse.Namespace:
)

install_usage = """Usage:
pipc install .
pipc install -e .
pipc install -e .[test]
python -m pipc install ansible.utils"""
pip4a install .
pip4a install -e .
pip4a install -e .[test]
python -m pip4a install ansible.utils"""

install = subparsers.add_parser(
"install",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions src/pipac/_version.py

This file was deleted.

0 comments on commit a5393ff

Please sign in to comment.