summaryrefslogtreecommitdiff
path: root/external/bsd/file/dist/python/README
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2011-05-12 20:46:28 +0000
committerchristos <christos@NetBSD.org>2011-05-12 20:46:28 +0000
commit2e1c341a70f7caef4d6e90366d38ad67a73d4268 (patch)
treea36fffd54164a36beadc417d10011df51997f9e8 /external/bsd/file/dist/python/README
parentb6f96da23234479bfc1f4f36bc0854ec46105fa9 (diff)
from ftp.astron.com.
- many security related fixes - no MAXPATHLEN limits - fixed missing text specification on ascii magic - new ``pascal'' style string formats - whitespace comparison fix - more magic
Diffstat (limited to 'external/bsd/file/dist/python/README')
-rw-r--r--external/bsd/file/dist/python/README23
1 files changed, 5 insertions, 18 deletions
diff --git a/external/bsd/file/dist/python/README b/external/bsd/file/dist/python/README
index ba22eb01fe4..8b9a2a7e407 100644
--- a/external/bsd/file/dist/python/README
+++ b/external/bsd/file/dist/python/README
@@ -1,26 +1,13 @@
-
This directory contains Python bindings to allow you to access the
-libmagic api. At the moment their status is "experimental" and
-they are not built by default. You may need to edit include and library
-search paths in setup.py so that python's distutils build process can
-find the magic header and lib files.
-
-In order to be able to compile magic-python you need to have python
-and the python-dev packages installed.
-
-Python libraries are always built for a particular version of Python
-(2.2, 2.3, etc), and libraries built for one version will not be seen
-by another.
+libmagic api. At the moment their status is "experimental".
-To build:
+You can install the modules either with:
$ python setup.py build
+$ python setup.py install
-Now, you can install the modules:
+or, if you have easy_install:
-$ cp build/lib.*/magic.so /usr/lib/python2.3/lib-dynload/
-
-(the directory /usr/lib/python2.3 may vary, depending on your installation)
+$ easy_install .
magic-python should work now!
-