Discussion:
[bottlepy] TEMPLATE_PATH and pkg_resources
Jochen Breuer
2015-01-06 21:31:24 UTC
Permalink
Hi,

I'm in the process of creating a setup.py for an application of mine and
I'd like to use setuptools to accomplish this. With the *data_files*
parameter it would be possible to just copy files to the filesystem to
access them. But the prefered way seems to be *pkg_resources*. Would it be
possible to somehow feed TEMPLATE_PATH with pkg_resources instead of a real
path?

Thanks!

Jochen
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jochen Breuer
2015-01-07 14:45:56 UTC
Permalink
I've also posted the question to StackOverflow:
http://stackoverflow.com/questions/27821955/using-template-path-with-pkg-resources-in-bottle-py
Post by Jochen Breuer
Hi,
I'm in the process of creating a setup.py for an application of mine and
I'd like to use setuptools to accomplish this. With the *data_files*
parameter it would be possible to just copy files to the filesystem to
access them. But the prefered way seems to be *pkg_resources*. Would it
be possible to somehow feed TEMPLATE_PATH with pkg_resources instead of a
real path?
Thanks!
Jochen
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...