mirror of https://github.com/n1nj4sec/pupy.git
Make possible to include some packages to client
This commit is contained in:
parent
7e8f4a03bd
commit
d46be888f3
|
@ -11,6 +11,17 @@ sys.path.insert(0, PATCHES)
|
|||
sys.path.append(os.path.join(ROOT, 'pupy'))
|
||||
sys.path.append(os.path.join(ROOT, 'pupy', 'pupylib'))
|
||||
|
||||
|
||||
sys.path.append(os.path.join(ROOT, 'pupy', 'packages', 'all'))
|
||||
|
||||
if sys.platform == 'win32':
|
||||
sys.path.append(os.path.join(ROOT, 'pupy', 'packages', 'windows', 'all'))
|
||||
elif sys.platform.startswith('linux'):
|
||||
sys.path.append(os.path.join(ROOT, 'pupy', 'packages', 'linux', 'all'))
|
||||
sys.path.append(os.path.join(ROOT, 'pupy', 'packages', 'posix', 'all'))
|
||||
else:
|
||||
sys.path.append(os.path.join(ROOT, 'pupy', 'packages', 'posix', 'all'))
|
||||
|
||||
from PupyCompile import pupycompile
|
||||
|
||||
import additional_imports
|
||||
|
|
Loading…
Reference in New Issue