Skip to content

Commit

Permalink
Add Windows installation notes
Browse files Browse the repository at this point in the history
Also put pip installation first in the order, as it is the preferred installation method.
  • Loading branch information
clenk committed Aug 4, 2016
1 parent 5eccd05 commit 67f1893
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,21 @@ A python library for parsing, manipulating, and generating STIX v1.2 content.
Installation
------------

The python-stix library can be installed via the distutils setup.py script
included at the root directory:

$ python setup.py install
The python-stix library is hosted on `PyPI
<https://pypi.python.org/pypi/stix/>`_ and the most recent stable version can be
installed with `pip <https://pypi.python.org/pypi/pip>`_:

The python-stix library is also hosted on `PyPI
<https://pypi.python.org/pypi/stix/>`_ and can be installed with `pip
<https://pypi.python.org/pypi/pip>`_:
::

$ pip install stix

The python-stix library can also be installed via the distutils setup.py script
included at the root directory:

::

$ python setup.py install

Dependencies
------------

Expand All @@ -53,6 +57,18 @@ Installation on Ubuntu 14.04 (and older)
$ sudo apt-get install python-dev python-pip libxml2-dev libxslt-dev zlib1g-dev
$ sudo pip install stix

Installation on Windows
~~~~~~~~~~~~~~~~~~~~~~~

Download the Lxml wheel for your version of Python from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml, then install it via "pip install
<filename>.whl". For example, to install it on 64-bit Windows running Python 2.7:

::

> pip install lxml-3.6.1-cp27-cp27m-win_amd64.whl
> pip install stix

Versioning
----------

Expand Down

0 comments on commit 67f1893

Please sign in to comment.