Replicating/reproducing the Django development environment

后端 未结 2 796
伪装坚强ぢ
伪装坚强ぢ 2021-01-21 00:52

I am working with my friends on a Django project. The project has dependencies on some python modules. I have django and those additional dependencies installed inside a virtual

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-21 01:19

    buildout.cfg:

    [buildout]
    parts = python
    
    [python]
    recipe = zc.recipe.egg
    eggs =
        your
        egg
        dependencies
        here
    interpreter = python
    

    Get bootstrap.py. Then:

    $ python bootstrap.py
    $ bin/buildout
    $ bin/python ...
    

提交回复
热议问题