Menu

#199 Missing packages in setup.py

None
closed-fixed
nobody
None
5
2022-11-14
2022-11-08
No

Hello
When building docutils from sources on python 3.10 with setuptools 63.2.0, I have the following warnings :

SetuptoolsDeprecationWarning:     Installing 'docutils.parsers.rst.include' as data is deprecated, please list it in `packages`
SetuptoolsDeprecationWarning:     Installing 'docutils.writers.s5_html.themes' as data is deprecated, please list it in `packages`.
SetuptoolsDeprecationWarning:     Installing 'docutils.writers.s5_html.themes.default' as data is deprecated, please list it in `packages`.

I think these 3 packages should be listed in packages in setup.py
Regards

Related

Bugs: #462

Discussion

  • engelbert gruber

    If packages are packages of code for docutils processing text

    and these are files to include into rst-files they might be no package

    but then they are in a library subdriectory ?

     
  • engelbert gruber

    reading this from pya

    Yes, I recommend adding all the sub-directories to the list of packages, even if they only include data files. On the bright side that can be done with find_namespace_packages (setup.py) or find_namespace: (setup.cfg).

    I will add the directories

     
  • engelbert gruber

    • status: open --> closed-fixed
     
  • engelbert gruber

    reading this from pya

    Yes, I recommend adding all the sub-directories to the list of packages, even if they only include data files. On the bright side that can be done with find_namespace_packages (setup.py) or find_namespace: (setup.cfg).

    I will add the directories

     

Log in to post a comment.