octoprint.setuptools => octoprint_setuptools (own package)
Otherwise we get import issues during build since the octoprint module depends on the dependencies already being present what they obviously can't be at the beginning of setup.
This commit is contained in:
parent
0be049280b
commit
dae29ac175
4
setup.py
4
setup.py
|
@ -44,14 +44,14 @@ plugin_additional_data = []
|
|||
from setuptools import setup
|
||||
|
||||
try:
|
||||
import octoprint.setuptools
|
||||
import octoprint_setuptools
|
||||
except:
|
||||
print("Could not import OctoPrint's setuptools, are you sure you are running that under "
|
||||
"the same python installation that OctoPrint is installed under?")
|
||||
import sys
|
||||
sys.exit(-1)
|
||||
|
||||
setup(**octoprint.setuptools.create_plugin_setup_parameters(
|
||||
setup(**octoprint_setuptools.create_plugin_setup_parameters(
|
||||
identifier=plugin_identifier,
|
||||
name=plugin_name,
|
||||
version=plugin_version,
|
||||
|
|
Loading…
Reference in New Issue
Block a user