Skip Montanaro
2018-01-18 20:38:02 UTC
With a bit of reading I think I determined how to specify data files
to include in setup.py:
setuptools.setup(
...
data_files=[('relative/dir', ['data/mumble.ini'])],
...
)
When I build my conda package, I find mumble.ini here (using python2.7
as an example):
lib/python2.7/site-packages/relative/dir/mumble.ini
bin/run-my-service.sh
I think that's an odd place to put a data file, especially one which
(in my case) names a config file used by my start script installed in
"bin" (at the same level as "lib"). Is that common practice? Is there
a better way to do this?
Thanks,
Skip Montanaro
to include in setup.py:
setuptools.setup(
...
data_files=[('relative/dir', ['data/mumble.ini'])],
...
)
When I build my conda package, I find mumble.ini here (using python2.7
as an example):
lib/python2.7/site-packages/relative/dir/mumble.ini
bin/run-my-service.sh
I think that's an odd place to put a data file, especially one which
(in my case) names a config file used by my start script installed in
"bin" (at the same level as "lib"). Is that common practice? Is there
a better way to do this?
Thanks,
Skip Montanaro
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CANc-5Uzov7y9Opt4u65zfu%2B-gqHxE-wpC97toJ1gAOW%3DnTK8GQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CANc-5Uzov7y9Opt4u65zfu%2B-gqHxE-wpC97toJ1gAOW%3DnTK8GQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.