diff --git a/MANIFEST.in b/MANIFEST.in index a34974d..76bd07a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,3 +2,4 @@ include README.md recursive-include octoprint_bambu_printer/templates * recursive-include octoprint_bambu_printer/translations * recursive-include octoprint_bambu_printer/static * +include octoprint_bambu_printer/printer/pybambu/filaments.json diff --git a/setup.py b/setup.py index 5209731..037c5bd 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ plugin_requires = ["paho-mqtt<2", "python-dateutil", "httpx[http2]>=0.27.0"] # already be installed automatically if they exist. Note that if you add something here you'll also need to update # MANIFEST.in to match to ensure that python setup.py sdist produces a source distribution that contains all your # files. This is sadly due to how python's setup.py works, see also http://stackoverflow.com/a/14159430/2028598 -plugin_additional_data = [] +plugin_additional_data = ["octoprint_bambu_printer/printer/pybambu/filaments.json"] # Any additional python packages you need to install with your plugin that are not contained in .* plugin_additional_packages = []