1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 20:51:30 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
dmiller
19fc89840f Convert ndiff and zenmap to setuptools. Fixes #2649 2024-01-29 17:09:26 +00:00
dmiller
87778f7693 Fix Python2-isms in uninstallers. Closes #2580 2022-12-14 22:38:00 +00:00
dmiller
12d41ec2cd Update Ndiff to Python 3. Closes #1807 2022-12-07 20:34:05 +00:00
dmiller
f48d12a591 Avoid importing *, possibly polluting namespace 2020-10-15 17:17:34 +00:00
dmiller
3e58be1551 Use 'with' statements for file open/close. #1834 2019-12-30 06:46:34 +00:00
dmiller
f411d2ee28 Remove duplicate declaration of set_modules_path 2015-09-20 04:16:36 +00:00
dmiller
6271177458 Add an uninstall option to ndiff's setup.py 2014-11-13 13:24:41 +00:00
fyodor
96eb55e419 Add some features from Zenmap's setup.pl to ndiff one. The main feature is adding the ndiff.py Python module install directory to ndiff script so it can always (we hope) be found even if the dir isn't in the user's PYTHONPATH. 2014-04-12 01:24:32 +00:00
dmiller
da0c947004 Enforce PEP 8 style on Ndiff
Issues fixed:

1       E111 indentation is not a multiple of four
1       E201 whitespace after '['
14      E251 no spaces around keyword / parameter equals
7       E301 expected 1 blank line, found 0
55      E302 expected 2 blank lines, found 1
69      E501 line too long (80 characters)
3       W291 trailing whitespace
4       W601 .has_key() is deprecated, use 'in'
2014-01-10 20:43:32 +00:00
dmiller
1e6db2b22c Make Ndiff install as a Python module as well as script
Discussion: http://seclists.org/nmap-dev/2013/q4/19
2013-10-17 19:20:49 +00:00
david
017339e372 [Ndiff] The setup.py installation script now suggests installing the
python-dev package in a certain error situation. Previously the
error message it printed was misleading:
  error: invalid Python installation: unable to open
  /usr/lib/python2.6/config/Makefile (No such file or directory)
The change was suggested by Aaron Leininger.
2009-04-20 19:15:00 +00:00
david
903e91a48b Move /nmap-exp/david/ndiff to /nmap/ndiff. 2008-09-18 23:31:19 +00:00