File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -115,21 +115,22 @@ You can install libnmap via pip:
115115
116116 ronald@brouette:~ $ pip install python-libnmap
117117
118- or via git and dist utils (à l’ancienne) :
118+ or via git and pip :
119119
120120.. code :: bash
121121
122122 ronald@brouette:~ $ git clone https://github.com/savon-noir/python-libnmap.git
123123 ronald@brouette:~ $ cd python-libnmap
124- ronald@brouette:~ $ python setup.py install
124+ ronald@brouette:~ $ pip install .
125125
126- or via git and pip :
126+ or via git and dist utils (à l’ancienne/deprecated) :
127127
128128.. code :: bash
129129
130130 ronald@brouette:~ $ git clone https://github.com/savon-noir/python-libnmap.git
131131 ronald@brouette:~ $ cd python-libnmap
132- ronald@brouette:~ $ pip install .
132+ ronald@brouette:~ $ python setup.py install
133+
133134
134135 Examples
135136--------
Original file line number Diff line number Diff line change 1- black == 22.8 .0
2- defusedxml == 0.6.0
3- isort == 5.6.4
1+ black == 24.3 .0
2+ defusedxml == 0.7.1
3+ isort == 6.0.0
44pre-commit
55pytest
66pytest-cov
77flake8
8- setuptools
Original file line number Diff line number Diff line change 55except ImportError :
66 from distutils .core import setup
77
8-
98if sys .version_info >= (3 , 0 ):
109 with open ("README.rst" , encoding = "utf-8" ) as rfile :
1110 long_description = rfile .read ()
12- else : # encoding not compatible with python2
11+ else : # if encoding not compatible with python2
1312 with open ("README.rst" ) as rfile :
1413 long_description = rfile .read ()
1514
4241 "Programming Language :: Python :: 3.6" ,
4342 "Programming Language :: Python :: 3.7" ,
4443 "Programming Language :: Python :: 3.8" ,
44+ "Programming Language :: Python :: 3.9" ,
45+ "Programming Language :: Python :: 3.10" ,
4546 "Topic :: System :: Networking" ,
4647 ],
4748)
You can’t perform that action at this time.
0 commit comments