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
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ and completion of the transition is strongly advised.

```
$ python pyprojectize.py --help
usage: pyprojectize [-h] [-l] [-i MODIFIER] [-x MODIFIER [MODIFIER ...] | -o MODIFIER] [-s SOURCEDIR] [SPECFILE]
usage: pyprojectize [-h] [-l] [-i MODIFIER] [-x MODIFIER [MODIFIER ...] |
-o MODIFIER] [-s SOURCEDIR]
[SPECFILE]

positional arguments:
SPECFILE path to the spec file to convert
Expand All @@ -39,10 +41,13 @@ options:
exclude given modifier
-o, --only MODIFIER run only one given modifier
-s, --sourcedir SOURCEDIR
path to the source directory, relevant for %include etc. (default: spec's parent)
path to the source directory, relevant for %include
etc. (default: spec's parent)

If you wish to process multiple specfiles at a time, run this tool via parallel, etc. If you wish to inspect/commit result of each modififer separatelly, you can loop over pyprojectize -l calling pyprojectize -o $modifer
each time.
If you wish to process multiple specfiles at a time, run this tool via
parallel, etc. If you wish to inspect/commit result of each modififer
separatelly, you can loop over pyprojectize -l calling pyprojectize -o
$modifer each time.

$ python pyprojectize.py ampy.spec # 16a7deeb
✅ add_pyproject_buildrequires: %generate_buildrequires with %pyproject_buildrequires added
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ commands = [["black", "."]]
[tool.tox.env.doc]
description = "regenerate README"
deps = ["cogapp", "urllib3"]
set_env = { COLUMNS = "80" }
commands = [["cog", "-Pr", "README.md"]]