Home page logo
/

nmap-dev logo Nmap Development mailing list archives

[patch][Ndiff] Make Ndiff install as a library as well as a script
From: Daniel Miller <bonsaiviking () gmail com>
Date: Thu, 26 Sep 2013 11:48:58 -0500

List,

Ndiff is a great tool, but it's also a great Python library for
parsing Nmap XML. Unfortunately, the current setup.py does not install
it as a module, but only as a script. I've made a couple changes that
should correct this situation. The diff is attached, but the solution
also requires renaming ndiff/ndiff to ndiff/ndiff.py

I don't see any issues with this, but I'm biased. I did take the
precaution of not modifying ndiff at all, so it can still be copied by
itself and used as a script. My first take involved stripping the "run
as a script" code from it entirely, but I figured that might cause
some folks headaches.

Thoughts?

Dan

Attachment: ndiff-lib2.diff
Description:

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
  • [patch][Ndiff] Make Ndiff install as a library as well as a script Daniel Miller (Sep 26)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]