Unify package structure
This commit is contained in:
parent
222f9d9387
commit
765d039ae9
|
@ -0,0 +1,3 @@
|
|||
import sys
|
||||
from .core import main
|
||||
sys.exit(main())
|
|
@ -47,7 +47,3 @@ def main():
|
|||
item["link"] = entry_link
|
||||
|
||||
print(json.dumps(item))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
|
@ -3,7 +3,7 @@ name = "intake-rss"
|
|||
version = "0.1.0"
|
||||
|
||||
[project.scripts]
|
||||
intake-rss = "intake_rss:main"
|
||||
intake-rss = "intake_rss.core:main"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["intake_rss"]
|
||||
|
|
Loading…
Reference in New Issue