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",