Custom distutils commands

前端 未结 4 1260
别跟我提以往
别跟我提以往 2020-12-02 13:32

I have a library called \"example\" that I\'m installing into my global site-packages directory. However, I\'d like to be able to install two versions, one for production a

4条回答
  •  猫巷女王i
    2020-12-02 14:00

    See Alex's answer if you want a way to do this with distutils, but I find Paver to be better for this kind of thing. It makes it a lot easier to make custom commands or override existing ones. Plus the transition isn't terribly difficult if you're used to distutils or setuptools.

提交回复
热议问题