In this commit I used a python file named config.py as a solution to issue #3.
What I forgot at the time was that this config file is just installed with everything else, and compiles to a .pyc - In my case, to /usr/local/lib/python2.7/dist-packages/l293d/.
There needs to be a solution where, for example:
Before running setup.py install, the user can edit the filepath of a config file that defaults to, for example, ~/l293d-config and contains stuff like verbose = true.
In this commit I used a python file named
config.py
as a solution to issue #3.What I forgot at the time was that this config file is just installed with everything else, and compiles to a
.pyc
- In my case, to/usr/local/lib/python2.7/dist-packages/l293d/
.There needs to be a solution where, for example:
setup.py install
, the user can edit the filepath of a config file that defaults to, for example,~/l293d-config
and contains stuff likeverbose = true
.l293d
is imported, the config is loaded