We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94bad85 commit 82b7c11Copy full SHA for 82b7c11
scripts/dream.py
@@ -1,12 +1,10 @@
1
#!/usr/bin/env python3
2
# Copyright (c) 2022 Lincoln D. Stein (https://github.com/lstein)
3
4
-import sys
5
-import os.path
6
-
7
-script_path = sys.argv[0]
8
-script_args = sys.argv[1:]
9
-script_dir,script_name = os.path.split(script_path)
10
-script_dest = os.path.join(script_dir,'invoke.py')
11
-os.execlp('python3','python3',script_dest,*script_args)
+import warnings
+import invoke
12
+if __name__ == '__main__':
+ warnings.warn("dream.py is deprecated, please run invoke.py instead",
+ DeprecationWarning)
+ invoke.main()
0 commit comments