From 542b09043497cbfcef80447533e3c60a25bc7568 Mon Sep 17 00:00:00 2001 From: Lovi <62809003+Lovi-0@users.noreply.github.com> Date: Sat, 15 Mar 2025 15:50:26 +0100 Subject: [PATCH] core: Update setup.py --- MANIFEST.in | 3 ++- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index e02a32e..e884cf9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ recursive-include StreamingCommunity * recursive-include StreamingCommunity/Api * -recursive-include StreamingCommunity/Lib * \ No newline at end of file +recursive-include StreamingCommunity/Lib * +include requirements.txt \ No newline at end of file diff --git a/setup.py b/setup.py index 6ed46d1..f6257fb 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,12 @@ +import os from setuptools import setup, find_packages def read_readme(): with open("README.md", "r", encoding="utf-8") as fh: return fh.read() -with open("requirements.txt", "r", encoding="utf-8-sig") as f: +with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r", encoding="utf-8-sig") as f: required_packages = f.read().splitlines() - print(required_packages) setup( name="StreamingCommunity",