1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-27 16:20:05 +02:00

make archive.py runnable as package and as module

This commit is contained in:
Nick Sweeting
2019-03-27 15:13:47 -04:00
parent dff830196f
commit 79b319a48c
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
__name__ = 'archivebox'
__package__ = 'archivebox'

View File

@@ -8,6 +8,7 @@ but you can also run it directly using `python3 archive.py`
Usage & Documentation:
https://github.com/pirate/ArchiveBox/Wiki
"""
__package__ = 'archivebox'
import os
import sys