[pyassimp] Minor formatting in README.md

pull/10/head
Séverin Lemaignan 2012-11-10 23:49:01 +01:00
parent d3dbde02d6
commit 6bcc5db350
1 changed files with 11 additions and 11 deletions

View File

@ -1,8 +1,8 @@
PyAssimp Readme PyAssimp Readme
=============== ===============
-- a simple Python wrapper for Assimp using ctypes to access A simple Python wrapper for Assimp using `ctypes` to access the library.
the library. Requires Python >= 2.6. Requires Python >= 2.6.
Python 3 support is mostly here, but not well tested. Python 3 support is mostly here, but not well tested.
@ -12,10 +12,10 @@ particular, only loading of models is currently supported (no export).
USAGE USAGE
----- -----
To get started with pyAssimp, examine the sample.py script in scripts/, which To get started with pyAssimp, examine the `sample.py` script in `scripts/`,
illustrates the basic usage. All Assimp data structures are wrapped using which illustrates the basic usage. All Assimp data structures are wrapped using
ctypes. All the data+length fields in Assimp's data structures (such as ctypes. All the data+length fields in Assimp's data structures (such as
'aiMesh::mNumVertices','aiMesh::mVertices') are replaced by simple python `aiMesh::mNumVertices`, `aiMesh::mVertices`) are replaced by simple python
lists, so you can call len() on them to get their respective size and access lists, so you can call len() on them to get their respective size and access
members using []. members using [].
@ -57,18 +57,18 @@ release(scene)
INSTALL INSTALL
------- -------
Install pyassimp by running: Install `pyassimp` by running:
> python setup.py install > python setup.py install
PyAssimp requires a assimp dynamic library (DLL on windows, PyAssimp requires a assimp dynamic library (`DLL` on windows,
so on linux :-) in order to work. The default search directories `.so` on linux :-) in order to work. The default search directories
are: are:
- the current directory - the current directory
- on linux additionally: /usr/lib and /usr/local/lib - on linux additionally: `/usr/lib` and `/usr/local/lib`
To build that library, refer to the Assimp master INSTALL To build that library, refer to the Assimp master INSTALL
instructions. To look in more places, edit ./pyassimp/helper.py. instructions. To look in more places, edit `./pyassimp/helper.py`.
There's an 'additional_dirs' list waiting for your entries. There's an `additional_dirs` list waiting for your entries.