Skip to content

Commit c211a19

Browse files
authored
Merge pull request #474 from kimocoder/copilot/update-setup-py-packages-list
fix: use find_packages() in setup.py to include wifite/config sub-packages
2 parents 4ecc981 + 4272a93 commit c211a19

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

setup.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
try:
4-
from setuptools import setup
4+
from setuptools import setup, find_packages
55
except ImportError:
66
raise ImportError("setuptools is required to install wifite2")
77

@@ -16,16 +16,7 @@
1616
author='kimocoder',
1717
author_email='christian@aircrack-ng.org',
1818
url='https://github.com/kimocoder/wifite2',
19-
packages=[
20-
'wifite',
21-
'wifite/attack',
22-
'wifite/attack/portal',
23-
'wifite/model',
24-
'wifite/native',
25-
'wifite/tools',
26-
'wifite/ui',
27-
'wifite/util',
28-
],
19+
packages=find_packages(exclude=['tests', 'tests.*']),
2920
package_data={
3021
'': ['wordlist-probable.txt']
3122
},

0 commit comments

Comments
 (0)