File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def u_to_str(data, separator=":"):
2626 return separator .join ("{:02x}" .format (ord (c )) for c in data ).upper ()
2727
2828def main ():
29- print u_to_str (get_hw ("wlp2s0" ))
29+ print ( u_to_str (get_hw ("wlp2s0" ) ))
3030
3131if __name__ == '__main__' :
3232 main ()
Original file line number Diff line number Diff line change 11from setuptools import setup
22
3+ with open ("README.md" , "r" ) as fh :
4+ long_description = fh .read ()
5+
36setup (name = 'rawsocketpy' ,
47 version = '0.1' ,
58 description = 'This library allows you to implemnet a custom layer 2 communication using raw sockets in Python' ,
9+ long_description = long_description ,
10+ long_description_content_type = "text/markdown" ,
611 url = 'https://github.com/AlexisTM/rawsocket_python' ,
712 author = 'AlexisTM' ,
813 author_email = 'alexis.paques@gmail.com' ,
914 license = 'MIT' ,
10- packages = ['rawsocketpy' ],
15+ packages = setuptools .find_packages (),
16+ classifiers = (
17+ "Programming Language :: Python :: 2" ,
18+ "Development Status :: 4 - Beta" ,
19+ "License :: OSI Approved :: MIT License" ,
20+ "Operating System :: POSIX :: Linux" ,
21+ "Topic :: Internet" ,
22+ "Topic :: System :: Networking" ,
23+ "Topic :: System :: Networking :: Monitoring" ,
24+ ),
1125 zip_safe = False )
You can’t perform that action at this time.
0 commit comments