-# in this case we do not want to upload anything on the build box though
-
-testpypi:
- ./setup.py sdist upload -r testpypi
+testpypi:
+# no upload to build.onelab.eu is done in this case
+# try it out with
+# pip install -i https://testpypi.python.org/pypi nepi
+# dependencies need to be managed manually though
+ $(call upload_pypi,testpypi)
+
+#################### convenience, for debugging only
+# make +foo : prints the value of $(foo)
+# make ++foo : idem but verbose, i.e. foo=$(foo)
+++%: varname=$(subst +,,$@)
+++%:
+ @echo "$(varname)=$($(varname))"
++%: varname=$(subst +,,$@)
++%:
+ @echo "$($(varname))"