|
36 | 36 | DIR_OF_REQUESTS_DEPS = os.path.join( DIR_OF_THIRD_PARTY, 'requests_deps' ) |
37 | 37 | sys.path[ 0:0 ] = [ |
38 | 38 | os.path.join( ROOT_DIR ), |
39 | | - os.path.join( DIR_OF_THIRD_PARTY, 'bottle' ), |
40 | 39 | os.path.join( DIR_OF_THIRD_PARTY, 'regex-build' ), |
41 | | - os.path.join( DIR_OF_THIRD_PARTY, 'frozendict' ), |
42 | 40 | os.path.join( DIR_OF_THIRD_PARTY, 'jedi_deps', 'jedi' ), |
43 | 41 | os.path.join( DIR_OF_THIRD_PARTY, 'jedi_deps', 'parso' ), |
44 | | - os.path.join( DIR_OF_REQUESTS_DEPS, 'requests' ), |
45 | | - os.path.join( DIR_OF_REQUESTS_DEPS, 'chardet' ), |
46 | | - os.path.join( DIR_OF_REQUESTS_DEPS, 'certifi' ), |
47 | | - os.path.join( DIR_OF_REQUESTS_DEPS, 'idna' ), |
48 | | - os.path.join( DIR_OF_REQUESTS_DEPS, 'urllib3', 'src' ), |
49 | | - os.path.join( DIR_OF_WATCHDOG_DEPS, 'watchdog', 'build', 'lib3' ), |
50 | | - os.path.join( DIR_OF_WATCHDOG_DEPS, 'pathtools' ), |
51 | | - os.path.join( DIR_OF_THIRD_PARTY, 'waitress' ) ] |
| 42 | + os.path.join( DIR_OF_WATCHDOG_DEPS, 'watchdog', 'build', 'lib3' ) ] |
52 | 43 | sys.path.append( os.path.join( DIR_OF_THIRD_PARTY, 'jedi_deps', 'numpydoc' ) ) |
53 | 44 |
|
54 | 45 | import atexit |
@@ -203,7 +194,6 @@ def Main(): |
203 | 194 | args.stderr, |
204 | 195 | args.keep_logfiles ) |
205 | 196 | atexit.register( handlers.ServerCleanup ) |
206 | | - handlers.app.uninstall( True ) |
207 | 197 | handlers.app.install( WatchdogPlugin( args.idle_suicide_seconds, |
208 | 198 | args.check_interval_seconds ) ) |
209 | 199 | handlers.app.install( HmacPlugin( hmac_secret ) ) |
|
0 commit comments