Skip to content

cnes-pylint-extension v3.0.0

Compare
Choose a tag to compare
@WaldoFR WaldoFR released this 11 Sep 09:55
· 30 commits to master since this release
890cd42

This version of CNES Checker is compatible with pylint 1.7.4. and 1.9.1.

Install with pip

python2 -m pip install --index-url file://$1 setuptools-scm
python2 -m pip install --index-url file://$1 pytest-runner
python2 -m pip install --index-url file://$1 pylint
pylint --version

Install with setup-py.bash

Pylint and its dependencies in their order of installation

packages=(setuptools_scm-3.1.0
          pytest-runner-4.2
          futures-3.2.0
          enum34-1.1.6
          wrapt-1.10.11
          six-1.11.0
          lazy-object-proxy-1.3.1
          singledispatch-3.4.0.3
          backports.functools_lru_cache-1.5
          configparser-3.5.0
          mccabe-0.6.1
          isort-4.3.4
          astroid-1.6.5
          pylint-1.9.1
          )

Extract pylint and its dependencies in a temporary directory

mkdir -p /tmp/pylint-packages
cd /tmp/pylint-packages
for package in $1/*; do
	tar -xf $package
done

Install all packages in the correct order

for package in ${packages[*]}; do
	cd $package
	python2 setup.py install
	cd ..
done

Check that Pylint is correctly installed

pylint --version