Excluding a top-level directory from a setuptools package

后端 未结 7 2001
闹比i
闹比i 2020-12-25 11:02

I\'m trying to put a Python project into a tarball using setuptools. The problem is that setuptools doesn\'t appear to like the way that the source tree was originally setu

7条回答
  •  误落风尘
    2020-12-25 11:52

    For similar purpose, my collegue wrote setuptools-dummy package: http://github.com/ella/setuptools-dummy/tree/master

    Take a look at setuptools_dummy, modify excludes to your needs and it should work. If not, open an issue ;)

提交回复
热议问题