Re: [Distutils] /etc files

2018-03-01 Thread Nathaniel Smith
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


[Distutils] Warehouse testing livechat/office hours in IRC today

2018-03-01 Thread Sumana Harihareswara
In about 5 minutes in #pypa-dev on Freenode, the maintainers of the new
PyPI pypi.org want to hear about any problems Python package maintainers
are having with it, and help you learn to hack on Warehouse. We're
holding a livechat/office hour; please drop in:
https://webchat.freenode.net/?channels=#pypa-dev

There'll be another one in a few hours. Timings:

Thursday March 1st: 1700 UTC / noon-1pm EST

Thursday March 1st: 2300 UTC / 6pm-7pm EST

The PSF blog post
https://pyfound.blogspot.com/2018/02/python-package-maintainers-help-test.html
has more info.

-- 
Sumana Harihareswara
Changeset Consulting
https://changeset.nyc
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] /etc files

2018-03-01 Thread Fred Drake
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


[Distutils] /etc files

2018-03-01 Thread Victor Porton
How to deal with files to be placed into /etc or a similar dir?
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] /etc files

2018-03-01 Thread Victor Porton
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