-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
61 lines (56 loc) · 1.37 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name='pywall',
version='0.1.0',
description="""Python firewall framework.""",
long_description="""
# pywall
Python firewall framework.
# Install
```
pip3 install pywall
```
# Using
## In another script
```python
from pywall import pywall
# pywall(iface="wlan0")
safe = pywall(iface="wlan0").control()
```
## In command line
```console
pywall
```
```console
usage: pywall [-h] [-i IFACE] [-t TIMEOUT]
optional arguments:
-h, --help show this help message and exit
-i IFACE, --iface IFACE
Interface
-t TIMEOUT, --timeout TIMEOUT
Timeout
```
""",
long_description_content_type='text/markdown',
url='https://github.com/Decentra-Network/pywall',
author='Decentra Network Developers',
author_email='[email protected]',
license='MIT',
packages=["pywall"],
package_dir={'':'src'},
install_requires=[
"scapy==2.4.5",
"cryptography==36.0.2"
],
entry_points = {
'console_scripts': ['pywall=pywall.pywall:arguments'],
},
python_requires=">=3.8",
zip_safe=False
)