Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#!/usr/bin/env python |
| 2 |
# |
| 3 |
# Example stub for running `python -m spin` |
| 4 |
# |
| 5 |
# Copy this into your project root. |
| 6 |
|
| 7 |
import os |
| 8 |
import sys |
| 9 |
import runpy |
| 10 |
|
| 11 |
sys.path.remove(os.path.abspath(os.path.dirname(sys.argv[0]))) |
| 12 |
try: |
| 13 |
runpy.run_module("spin", run_name="__main__") |
| 14 |
except ImportError: |
| 15 |
print("Cannot import spin; please install it using") |
| 16 |
print() |
| 17 |
print(" pip install spin") |
| 18 |
print() |
| 19 |
sys.exit(1) |