From c65e1c2ad6ec073ddbaf6f3474f94059b8337dfb Mon Sep 17 00:00:00 2001 From: Guikarist <guikarist@gmail.com> Date: Mon, 8 Jul 2019 19:41:17 +0800 Subject: [PATCH] Make env.yml work both on Windows and Linux Now by using [Conda package specification](https://docs.conda.io/projects/conda-build/en/latest/resources/package-spec.html#package-match-specifications) this `env.yml` is able to be used on Windows without modification. A potential problem should be requirements of `pywin32` and `pypiwin32` are only needed on Windows and therefore installed by `pip` rather than `conda`, which could cause collisions when installing them. Anyone who has a Mac can have a test. --- env.yml | 104 ++++++++++++++------------------------------------------ 1 file changed, 25 insertions(+), 79 deletions(-) diff --git a/env.yml b/env.yml index 6d3521fc..5ac431a9 100644 --- a/env.yml +++ b/env.yml @@ -3,84 +3,30 @@ channels: - defaults - conda-forge dependencies: - - appdirs=1.4.3=py37h28b3542_0 - - asn1crypto=0.24.0=py37_0 - - astroid=2.2.5=py37_0 - - attrs=19.1.0=py37_1 - - blas=1.0=mkl - - ca-certificates=2019.1.23=0 - - certifi=2019.3.9=py37_0 - - cffi=1.12.3=py37h2e261b9_0 - - chardet=3.0.4=py37_1 - - click=7.0=py37_0 - - colorama=0.4.1=py37_0 - - cryptography=2.6.1=py37h1ba5d50_0 - - docker-py=3.5.1=py37_1001 - - docker-pycreds=0.4.0=py_0 - - flask=0.12.4=py_0 - - freetype=2.9.1=h8a8886c_1 - - future=0.17.1=py37_0 - - idna=2.8=py37_0 - - intel-openmp=2019.3=199 - - isort=4.3.18=py37_0 - - itsdangerous=1.1.0=py37_0 - - jinja2=2.10.1=py37_0 - - jpeg=9b=h024ee3a_2 - - jsonschema=2.6.0=py37_0 - - lazy-object-proxy=1.4.0=py37h7b6447c_0 - - libedit=3.1.20181209=hc058e9b_0 - - libffi=3.2.1=hd88cf55_4 - - libgcc-ng=8.2.0=hdf63c60_1 - - libgfortran-ng=7.3.0=hdf63c60_0 - - libpng=1.6.37=hbc83047_0 - - libstdcxx-ng=8.2.0=hdf63c60_1 - - libtiff=4.0.10=h2733197_2 - - markupsafe=1.1.1=py37h7b6447c_0 - - mccabe=0.6.1=py37_1 - - mkl=2019.3=199 - - mkl_fft=1.0.12=py37ha843d7b_0 - - mkl_random=1.0.2=py37hd81dba3_0 - - ncurses=6.1=he6710b0_1 - - numpy=1.16.3=py37h7e9f1db_0 - - numpy-base=1.16.3=py37hde5b4d6_0 - - olefile=0.46=py37_0 - - openssl=1.1.1b=h7b6447c_1 - - packaging=19.0=py37_0 - - pillow=5.4.1=py37h34e0f95_0 - - pip=19.1.1=py37_0 - - pycparser=2.19=py37_0 - - pyglet=1.3.2=py37_1000 - - pylint=2.3.1=py37_0 - - pyopenssl=19.0.0=py37_0 - - pyparsing=2.4.0=py_0 - - pyrsistent=0.14.11=py37h7b6447c_0 - - pysocks=1.6.8=py37_0 - - python=3.7.3=h0371630_0 - - python-rapidjson=0.6.3=py37he6710b0_0 - - readline=7.0=h7b6447c_5 - - requests=2.21.0=py37_0 - - ruamel=1.0=py37_0 - - ruamel.yaml=0.15.94=py37h516909a_0 - - scipy=1.2.1=py37h7c811a0_0 - - setuptools=41.0.1=py37_0 - - six=1.12.0=py37_0 - - sqlite=3.28.0=h7b6447c_0 - - tabulate=0.8.3=py37_0 - - tk=8.6.8=hbc83047_0 - - typed-ast=1.3.5=py37h516909a_0 - - unidecode=1.0.23=py37_0 - - urllib3=1.24.2=py37_0 - - websocket-client=0.53.0=py37_1000 - - websockets=6.0=py37_1000 - - werkzeug=0.15.2=py_0 - - wheel=0.33.2=py37_0 - - wrapt=1.11.1=py37h7b6447c_0 - - xz=5.2.4=h14c3975_4 - - zlib=1.2.11=h7b6447c_3 - - zstd=1.3.7=h0b5b093_0 + - python=3.7.* + - pip + - docker-py=3.* + - scipy=1.* + - pillow=5.* + - ruamel.yaml=0.* + - flask=0.* + - requests=2.* + - astroid>=2 + - isort=4.3.* + - pylint>=2 + - websockets=6.* + - websocket-client=0.53.* + - python-rapidjson=0.6.* + - click=7.0 + - pyglet>=1.2.0 + - jsonschema<3.0.0 + - tabulate + - unidecode + - colorama + - future + - typed-ast>=1.3.0 - pip: - - gym==0.10.11 - - jsonmerge==1.5.2 - - python-cli-ui==0.7.5 + - gym~=0.10.5 + - jsonmerge~=1.5.1 + - python-cli-ui~=0.7.1 - ./ -