Python distutils error: “[directory]… doesn't exist or not a regular file”

后端 未结 4 1101
耶瑟儿~
耶瑟儿~ 2021-02-05 03:54

Let\'s take the following project layout:

$ ls -R .
.:
package  setup.py

./package:
__init__.py  dir  file.dat  module.py

./package/dir:
tool1.dat  tool2.dat
<         


        
4条回答
  •  感情败类
    2021-02-05 04:26

    Not quite sure why, but after some troubleshooting I realised that renaming the directories that had dots in their names solved the problem. E.g.

    chart.js-2.4.0 => chart_js-2_4_0
    

    Note: I'm using Python 2.7.10, SetupTools 12.2

提交回复
热议问题