Installing Packtools¶
Packtools works with CPython 2.7, 3.3+ and depends solely on lxml>=3.3.4. Please, read lxml’s installation instructions to make sure it is installed correctly.
Pypi (recommended)¶
$ pip install packtools
Source code (development version)¶
$ git clone https://github.com/scieloorg/packtools.git
$ cd packtools
$ python setup.py install
Installing on Windows¶
Requirements¶
- What is the Windows version?
- What is the Python version?
- Is the architecture 32 or 64 bits?
- The packages lxml and packtools can be downloaded at PyPi.
For example, if you want to install packtools on a 64 bits Windows 10 machine running Python 2.7.3 you should download and install lxml-3.7.3.win-amd64-py2.7.exe and packtools-2.0.1-py2.py3-none-any.whl. While lxml comes with a double-click graphic installer, packtools will require the following command at the command prompt:
$ pip install path/to/packtools-2.0.1-py2.py3-none-any.whl
You can test the installation executing:
$ stylechecker -h