How to include docs directory in python distribution

前端 未结 1 1992
抹茶落季
抹茶落季 2021-02-02 11:44

I have a python project with the following structure:

Clustering  (project name)
  clustering  (package)
    clustering.py and other modules
    tests  (sub-pack         


        
相关标签:
1条回答
  • 2021-02-02 12:13

    You'll need to create a MANIFEST.in file and include some simple instructions on what extra files you want to include (See MANIFEST.in Template)

    Example (to include docs dir and all files directly underneath):

    include docs/*
    

    or, to include all files in the doc dir (recursively):

    recursive-include docs *
    
    0 讨论(0)
提交回复
热议问题