Re: [Distutils] /etc files
On Wed, Feb 28, 2018 at 10:30 PM, Victor Porton wrote: > How to deal with the files to be placed into /etc or a similar dir? > Provide example / template files and document the intended deployment strategy for people who will deploy this software / distribution package managers. -- Joni Orponen ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] /etc files
Note that this will make it impossible to distribute wheels of your package or to install it into a virtualenv, because those don't have an /etc. So it's mostly only suitable for projects that you use internally under a known and restricted set of deployment options, not for anything distributed on pypi. On Mar 1, 2018 5:01 AM, "Victor Porton" wrote: How to deal with the files to be placed into /etc or a similar dir? In the previous email I forgot to say I use setuptools not distutils. ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] /etc files
On Wed, Feb 28, 2018 at 4:29 PM, Victor Porton wrote: > How to deal with files to be placed into /etc or a similar dir? setuptools is really an extension of distutils, and for this, the distutils documentation provides what you need to know: https://docs.python.org/3/distutils/setupscript.html#installing-additional-files Good luck! -Fred -- Fred L. Drake, Jr. "A storm broke loose in my mind." --Albert Einstein ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig