[issue31996] `setuptools.setup` parameter `py_modules` is undocumented

Luther Thompson report at bugs.python.org
Thu Nov 9 18:34:14 EST 2017


New submission from Luther Thompson <lutheroto at gmail.com>:

I wrote my own distribution package with only one module, but the module file was not being installed along with the dist info file. I found by looking up the code for the `six` module that `setup` has a `py_modules` parameter which apparently must be used to make the installation work. This module is not mentioned anywhere in https://packaging.python.org/tutorials/distributing-packages/.

----------
assignee: docs at python
components: Documentation
messages: 305997
nosy: Luther Thompson, docs at python
priority: normal
severity: normal
status: open
title: `setuptools.setup` parameter `py_modules` is undocumented
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31996>
_______________________________________


More information about the Python-bugs-list mailing list