mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 20:23:12 +00:00
make archive.py runnable as package and as module
This commit is contained in:
parent
dff830196f
commit
79b319a48c
2 changed files with 6 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
__name__ = 'archivebox'
|
||||||
|
__package__ = 'archivebox'
|
||||||
|
|
|
@ -8,6 +8,7 @@ but you can also run it directly using `python3 archive.py`
|
||||||
Usage & Documentation:
|
Usage & Documentation:
|
||||||
https://github.com/pirate/ArchiveBox/Wiki
|
https://github.com/pirate/ArchiveBox/Wiki
|
||||||
"""
|
"""
|
||||||
|
__package__ = 'archivebox'
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
Loading…
Reference in a new issue