Unify package structure

This commit is contained in:
Tim Van Baak 2023-06-11 20:01:41 -07:00
parent 222f9d9387
commit 765d039ae9
4 changed files with 4 additions and 5 deletions

View File

@ -0,0 +1,3 @@
import sys
from .core import main
sys.exit(main())

View File

@ -47,7 +47,3 @@ def main():
item["link"] = entry_link item["link"] = entry_link
print(json.dumps(item)) print(json.dumps(item))
if __name__ == "__main__":
sys.exit(main())

View File

@ -3,7 +3,7 @@ name = "intake-rss"
version = "0.1.0" version = "0.1.0"
[project.scripts] [project.scripts]
intake-rss = "intake_rss:main" intake-rss = "intake_rss.core:main"
[tool.setuptools] [tool.setuptools]
packages = ["intake_rss"] packages = ["intake_rss"]