-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- work on ldap3 conversion - work on function in windows and dev settings conversion
- Loading branch information
1 parent
3e516c6
commit c64db02
Showing
11 changed files
with
444 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import os | ||
|
||
#top = "c:\\python37-32" | ||
|
||
top = os.path.dirname(os.path.abspath(__file__)) | ||
|
||
for root, dirs, files in os.walk(top, topdown=False): | ||
for name in files: | ||
if name.endswith(".pyc") or name.endswith(".pyo"): | ||
print("Removing " + name) | ||
os.remove(os.path.join(root, name)) | ||
#for name in dirs: | ||
# os.rmdir(os.path.join(root, name)) | ||
|
||
|
||
#r = input("Done!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
requests | ||
ldap | ||
ldap3 # python-ldap | ||
paramiko | ||
ecdsa | ||
isodate | ||
pytube | ||
pywinrm | ||
xlrd | ||
psutil | ||
pycryptodome | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
|
||
rem cd server/web2py | ||
|
||
python web2py/web2py.py -p 8000 -i "0.0.0.0" -e -s "SMC Server" --minthreads=4 --maxthreads=8 --timeout=60 -K smc --with-scheduler --ssl_certificate="test.crt" --ssl_private_key="test.key" | ||
python2 clear_pyc_files.py | ||
|
||
|
||
python2 -B web2py/web2py.py -p 8000 -i "0.0.0.0" -e -s "SMC Server" --minthreads=4 --maxthreads=8 --timeout=60 -K smc --with-scheduler --ssl_certificate="test.crt" --ssl_private_key="test.key" | ||
rem # --ca-cert="ca.crt" --nogui -a "<recycle>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# Make sure web2py reloads modules | ||
from gluon.custom_import import track_changes | ||
track_changes(True) | ||
|
||
# Make sure to add our module path to the syspath for this app so that modules are loaded properly | ||
import os | ||
import sys | ||
|
||
spath_imported = False | ||
#spath_imported = False | ||
|
||
import_path = os.path.join(request.folder, 'modules') | ||
if import_path not in sys.path: | ||
sys.path.append(import_path) | ||
spath_imported = True | ||
#import_path = os.path.join(request.folder, 'modules') | ||
#if import_path not in sys.path: | ||
# sys.path.append(import_path) | ||
# spath_imported = True |
Oops, something went wrong.