@@ -22,8 +22,8 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = BeeWatch
-SOURCEDIR = docs/src/
-BUILDDIR = docs/
+SOURCEDIR = src/docs/
+BUILDDIR = build/docs/
# Put it first so that "make" without argument is like "make help".
help:
@@ -30,6 +30,9 @@ import sys
import time
import traceback
import yaml
+
+# add the source dir to the path, python finds the beewatch module.
+sys.path.insert(0,"src")
# My Libraries
import beewatch
import beewatch.gui
@@ -35,6 +35,8 @@ import yaml
import blinker
import curio
# import beewatch
import beewatch.server
@@ -31,6 +31,9 @@ setup_kwargs = {
'beewatch.pinapi',
'beewatch.server',
],
+ 'package_dir':{
+ 'beewatch':'src/beewatch'
+ },
}
setup(**setup_kwargs)
@@ -0,0 +1 @@
+# this file only exits so the static folder doesn't get ignored. empty directories get apparently ignored.