pjamesjoyce / lcopt

Create foreground LCA models via an intuitive user interface and analyse them using Brightway2
BSD 3-Clause "New" or "Revised" License
22 stars 6 forks source link

use appdirs to store user-generated data like models and config file #40

Closed haasad closed 6 years ago

haasad commented 6 years ago

As discussed in #37, here is how the data storage could look like with appdirs. If you decide to go for this option, I think the clean way would be to store all data generated by lcopt there, like search-indexes etc. Right now lcopt is technically "changing its own source code", since lcopt/assets is in the source directory

haasad commented 6 years ago

Looks like travis tests fail for PRs, because there is no access to the secret env variables: https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions

pjamesjoyce commented 6 years ago

Thanks Adrian. I'll take a proper look on Monday. You're right about the secret environment variables breaking Travis (it's the ecoinvent login details for eidl).