14 Commits

Author SHA1 Message Date
Wendel Voigt
7c4c010fba Refactor of draw.py (#150)
* Major refactor of draw.py
* Also addresses Issue #70, Issue #85, Issue #120, partial to Issue #6
* Make the label information more available so it can be picked up easier by the website frontend
* Add Avery Presta 94211 labels, label names
* Add tab-height to make easier calculations
* height is now the full height of the label.  tab-height is the portion used for the tab.
   (By doing this, adding labels is more intuitive and requires fewer calculations.)
* Fix for issue #239 The fix changes this to now include the original expansion in this case.  So now this results in the original expansion expansion being printed with the upgrade expansion cards included as well.
2019-01-01 20:55:35 -08:00
Wendel Voigt
0f0587ea32 Add generic label and blank tabs support (#224)
* Add generic label support
* add support for blank tabs
2018-11-26 13:49:26 -08:00
Wendel Voigt
4f5f1acb53 Renaissance (#215)
* Full Renaissance expansion support
2018-11-17 15:14:31 -08:00
Peter
c5618bacd2
Fix special card groups option for non en_us languages (#219)
* fix a bunch of formatting problems that only show up for combined card types in languages other than english
* add tests that actually perform generation during testing
2018-11-06 10:16:51 -08:00
Peter
8024da5696
use io to support python2+3; some minor other cleanup (#211) 2018-08-10 11:14:36 -07:00
Peter
bea714dfb8
Python 3 Compatibility (#208)
* make python3 compatible; clean up test reqs a bit
2018-07-30 12:03:36 -07:00
Wendel Voigt
236feff33c Additional Divider Options: Curse, Trash, Start Decks - 2nd attempt (#201)
* Trash, Curse, Start Deck Options
2018-04-30 10:11:01 -07:00
Sumpfork
539115b8f1 make language tool test more forgiving, and its errors easier to understand 2018-02-19 14:13:48 -08:00
Peter
0ffa111025
Test language tool run (#192)
* switch to pytest
* add language tool test
2018-02-19 13:38:30 -08:00
Sumpfork
5411da1ca7 test loading all languages; config for pytest 2018-01-11 15:48:39 -08:00
Michael Tuttle
b818f7cb7d standardize arguments to use hyphens (#167) 2017-12-11 10:52:35 -08:00
Nick Vance
4fa5c40a1e New Updates for Nocturne & Dismantle Promo (#171)
- Update db for Nocture and Dismantle
- Add the expansion text blurbs to the expansion dividers if printed
- Improvements to the language update/propagate script
2017-11-28 10:02:21 -08:00
Peter
c5c876f8c5 animals user expansion from BBG user rillaith (#148)
* animals user expansion from BBG user rillaith
* Added fan attribute to animals set
* animals.png - This is not the best image.  But it is the best I could get from the original files. I *think* it is 3 penguins.
* updated main.py for fan based expansions
This includes two items:
1) adds --fan for specifying fan expansions to include
2) adds wild cards in specifying both --expansion as well as --fan.  This also fixes issue #149
* Updated all language files for animals
* Normalize all line endings and add gitattributes file to make git do so in the future
* print the possible expansions when non-matching ones are provided
* Allow for no official expansions to be included
Kept the default behavior.  Not specifying '--expansions' will have the same outcome as '--expansions *' (i.e., will print all of them.)
Specifying '--expansions  ' (without any named expansions) or '--expansions none ' will result in no cards from any Official expansion.

For Fan expansions, the absence of '--fan', '--fan   ' (without any named fan expansion), and '--fan none ' will all prevent any Fan expansions from printing.
* Cleaned up expansion/fan lists
2017-03-25 21:39:49 -07:00
Peter
f47d9ee17b Make better package (#132)
* make domdiv a better behaved python package (see #131)
* move code from __init__.py to main.py to make import quicker and make version work without dependencies
* update languages import to use pkg_resources, fix tests
* update readmes
* change font lookup, font readme notes
2016-12-15 16:29:48 -08:00