Skip to content

Commit

Permalink
No sys.path mangling.
Browse files Browse the repository at this point in the history
Not sure if this was ever necessary, but now it is causing failures on
readthedocs; rtd installs the project from a wheel, so it gets installed
to site-packages. When the pynng directory gets added to sys.path, it
gets picked up before the version in site packages. This is a problem
because rtd does not build the package "in place", so there are no
shared libraries where they are expected.

At least I *hope* that is what is going on.
  • Loading branch information
Cody Piersall committed Jan 4, 2024
1 parent 24a8cc8 commit 1226b23
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys

sys.path.insert(0, os.path.abspath(".."))


# -- Project information -----------------------------------------------------
Expand Down

0 comments on commit 1226b23

Please sign in to comment.