Skip to content

Commit

Permalink
Rename gpx python module to avoid collisions
Browse files Browse the repository at this point in the history
in preparation to allow wheel installation of the binary extension
to possibly allow install without python-dev in the future
  • Loading branch information
markwal committed May 10, 2020
1 parent 834948e commit 415e9eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GPX
2 changes: 1 addition & 1 deletion octoprint_GPX/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from octoprint.server import admin_permission

try:
import gpx
import gcodex3g as gpx
except:
pass

Expand Down
2 changes: 1 addition & 1 deletion octoprint_GPX/gpxprinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

gpx = False
try:
import gpx
import gcodex3g as gpx
except:
pass

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def params():
}

ext_modules = [
setuptools.Extension('gpx',
setuptools.Extension('gcodex3g',
sources = plugin_ext_sources,
extra_compile_args = ['-DGPX_VERSION="\\"OctoPrint\\""', '-DSERIAL_SUPPORT', '-fvisibility=hidden', '-IGPX/build/src/shared', '-IGPX/src/shared', '-IGPX/src/gpx'],
extra_link_args = ['-fvisibility=hidden'])
Expand Down

0 comments on commit 415e9eb

Please sign in to comment.