eliminate duplicate Install section from README, update link
This commit is contained in:
parent
6245d36d25
commit
34a9abd2bc
@ -10,7 +10,7 @@ Again, to generate tabs go to the ***[Online Generator](http://domtabs.sandflea.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
If you do need to install the package locally (the script provides a lot more options than the web-based generator), a simple `pip install domdiv` should suffice, providing a command by the name of `dominion_dividers`. However, see the note under Prerequisites->Fonts below as the default install will fall back on a font that doesn't match the cards (though most people don't notice).
|
If you do need to install the package locally (the script provides a lot more options than the web-based generator), a simple `pip install domdiv` should suffice, providing a command by the name of `dominion_dividers`. However, see the note under Prerequisites->Fonts below as the default install will fall back on a font that doesn't match the cards (though most people don't notice). Run `dominion_dividers <outfile>` to get a pdf of all dividers with the default options, or run `dominion_dividers --help` to see the (extensive) list of options.
|
||||||
|
|
||||||
## Translations
|
## Translations
|
||||||
|
|
||||||
@ -35,9 +35,6 @@ Sadly, all these fonts use features that are not support by the reportlab packag
|
|||||||
|
|
||||||
Copy the converted `.ttf` files to the `fonts` directory in the `domdiv` package/directory, then perform the package install below.
|
Copy the converted `.ttf` files to the `fonts` directory in the `domdiv` package/directory, then perform the package install below.
|
||||||
|
|
||||||
## Install/Running
|
|
||||||
Run `python setup.py install`. This should install the needed prerequisites and make a script called `dominion_dividers` available in your python script directory. Run `dominion_dividers <outfile>` to get a pdf of all dividers with the default options, or run `dominion_dividers --help` to see the (extensive) list of options.
|
|
||||||
|
|
||||||
## Using as a library
|
## Using as a library
|
||||||
The library will be installed as `domdiv` with the main entry point being `domdiv.main.generate(options)`. It takes a `Namespace` of options as generated by python's `argparser` module. You can either use `domdiv.main.parse_opts(cmdline_args)` to get such an object by passing in a list of command line options (like `sys.argv`), or directly create an appropriate object by assigning the correct values to its attributes, starting from an empty class or an actual argparse `Namespace` object.
|
The library will be installed as `domdiv` with the main entry point being `domdiv.main.generate(options)`. It takes a `Namespace` of options as generated by python's `argparser` module. You can either use `domdiv.main.parse_opts(cmdline_args)` to get such an object by passing in a list of command line options (like `sys.argv`), or directly create an appropriate object by assigning the correct values to its attributes, starting from an empty class or an actual argparse `Namespace` object.
|
||||||
|
|
||||||
@ -45,4 +42,4 @@ The library will be installed as `domdiv` with the main entry point being `domdi
|
|||||||
|
|
||||||
You can use `python setup.py develop` to install the `dominion_dividers` script so that it calls your checked out code, enabling you to run edited code without having to perform an install every time.
|
You can use `python setup.py develop` to install the `dominion_dividers` script so that it calls your checked out code, enabling you to run edited code without having to perform an install every time.
|
||||||
|
|
||||||
Feel free to comment on boardgamegeek at <http://boardgamegeek.com/filepage/59848/horizontal-double-sided-dominion-tabs-for-all-expa> or file issues on github (<https://github.com/sumpfork/dominiontabs/issues>).
|
Feel free to comment on boardgamegeek at <https://boardgamegeek.com/thread/926575/web-page-generate-tabbed-dividers> or file issues on github (<https://github.com/sumpfork/dominiontabs/issues>).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user