napalm-automation / napalm-salt

Modules for event-driven network automation and orchestration using Salt
Apache License 2.0
128 stars 36 forks source link

Update install instructions for Python 3 #68

Open ichilton opened 3 years ago

ichilton commented 3 years ago

Hi!

I think the install instructions in the README should now use python3.

On Debian (buster) at least, I also had to install python3-setuptools, rustic and cargo for it to succeed.

This is what I ended up with:

napalm-deps:
  pkg.installed:
    - pkgs:
      - libffi-dev
      - libssl-dev
      - libxslt1-dev
      - python3-dev
      - python3-pip
      - python3-cffi
      - python3-setuptools
      - rustc
      - cargo

napalm-install:
  pip.installed:
    - name: napalm
    - upgrade: False
    - require:
      - pkg: napalm-deps