Skip to content

Commit

Permalink
load deps from conda-forge instead of pip, whenever possible
Browse files Browse the repository at this point in the history
  • Loading branch information
haasad committed Mar 7, 2017
1 parent 84d77c2 commit 9a038b3
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions brightway2_conda_installer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def create_new_brightway2_env():

name_str = 'name: {}\n'
channels_str = "channels:\n\t- defaults\n\t- haasad\n\t"
channels_str = "channels:\n\t- defaults\n\t- haasad\n\t- conda-forge\n\t"
python_str = '\ndependencies:\n\t- python={}'

conda_dependencies = ['pypardiso',
Expand All @@ -27,17 +27,22 @@ def create_new_brightway2_env():
'psutil',
'unicodecsv',
'wrapt',
'whoosh']
'whoosh',
'peewee',
'asteval',
'future',
'monotonic',
'fasteners']

conda_dependencies_str = '\n\t- ' + '\n\t- '.join(conda_dependencies)

pip_dependencies = ['brightway2',
'bw2analyzer',
'bw2calc',
'bw2data',
'bw2io',
'bw2parameters',
'bw2speedups',
pip_dependencies = ['brightway2',
'bw2analyzer',
'bw2calc',
'bw2data',
'bw2io',
'bw2parameters',
'bw2speedups',
'eight']

pip_dependencies_str = '\n\t- pip:\n\t\t- '+'\n\t\t- '.join(pip_dependencies)
Expand All @@ -62,5 +67,3 @@ def create_new_brightway2_env():

if __name__ == "__main__":
create_new_brightway2_env()


0 comments on commit 9a038b3

Please sign in to comment.