unt-libraries/pycallnumber

Add ability to provide custom settings

Closed this issue · 2 comments

The file settings.py contains defaults for a few simple options, which users of pycallnumber should be able to configure or override locally. Right now there is no easy way to do that. (Configurable settings also need to be documented, but that's another issue for another day.)

I went back and forth on this for way too long. Ultimately I decided that, given, 1. the very few user-configurable settings we have, and 2. the fact that people generally aren't going to have to change the defaults—there's no need for anything beyond what I've already built in. I added some documentation (via comments) to the settings.py module to give some guidance on how to override various settings, if needed, but most people won't need to override these. In retrospect the options here are a bit convoluted.

Next step will be to address #18—I just need to go back over the setup needed for PyPI. I should be able to get that done tomorrow, and then I'll merge changes for issues 18 and 19 into master and close these issues.