我想在我正在处理的Django项目中尝试这个中间件:https://github.com/directeur/django-pdf。它的名称是“django-pdf”,但与https://pypi.python.org/pypi/django-pdf/1.0.2不一样。不幸的是,Directeur django-pdf也不是微不足道的:它没有setup.py或requirements.txt。从github存储库中构建一个鸡蛋
是否有一些扩展的食谱或方式将软件包安装到django路径,或者我被迫fork回购并添加setup.py?
这是我目前的发展buildout.cfg:
[buildout]
parts =
python
django
django-nose
pyflakes
show-picked-versions = true
develop = .
eggs = django-core7
versions = versions
[python]
recipe = zc.recipe.egg
interpreter = python
eggs = ${buildout:eggs}
[django]
recipe = djangorecipe
project = core7
projectegg = core7
settings = development
test = core7
eggs =
${buildout:eggs}
${django-nose:eggs}
django_pdb
extra-paths = ${buildout:sources-dir}
[django-nose]
recipe = zc.recipe.egg
eggs =
django-nose
coverage
# Make this a separate part so it doesn't get included in Django's path.
[pyflakes]
recipe = zc.recipe.egg
eggs = pyflakes
[versions]
django = 1.5