williballenthin / python-registry

Pure Python parser for Windows Registry hives.
Apache License 2.0
426 stars 101 forks source link

Added 'unicodecsv' to setup.py 'install_requires' list #65

Closed PoorBillionaire closed 8 years ago

PoorBillionaire commented 8 years ago

Hey Willi--

While attempting to run amcache.py on a newer machine, I still needed to install the unicodecsv module after executing the python-registry setup script:

dev@computer:~/python-registry$ python samples/amcache.py -h
Traceback (most recent call last):
  File "samples/amcache.py", line 24, in <module>
    import unicodecsv
ImportError: No module named unicodecsv

If you don't mind, I went ahead and added unicodecsv to the setup script. Everything was smooth-sailing after that:

dev@computer:~/python-registry$ python samples/amcache.py -h
usage: amcache.py [-h] [-v] [-t] registry_hive

Parse program execution entries from the Amcache.hve Registry hive

positional arguments:
  registry_hive  Path to the Amcache.hve hive to process

optional arguments:
  -h, --help     show this help message and exit
  -v             Enable verbose output
  -t             Output in simple timeline format

Thanks!

Adam

NiKiZe commented 8 years ago

Looks good to me

williballenthin commented 8 years ago

good fix, i've been bit by this myself a few times!