VirusTotal / yara-python

The Python interface for YARA
http://virustotal.github.io/yara/
Apache License 2.0
659 stars 179 forks source link

Install options aren't recognized #26

Closed CalebFenton closed 8 years ago

CalebFenton commented 8 years ago

Copied the install example command from README:

python setup.py install --dynamic-linking                                                                                    1 ↵
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --dynamic-linking not recognized
plutec commented 8 years ago

Are you tried:

$ python setup.py build --dynamic-linking
$ python setup.py install

? I think that README is incomplete.

CalebFenton commented 8 years ago

Thanks, that works fine. And in case anyone is interested, to get pip to install with build options:

pip install --global-option="build" --global-option="--enable-cuckoo" --global-option="--enable-magic" yara-python