在dotcloud上构建mysqlpython时出现问题:需要分发>=0.6.28

2024-05-18 11:06:14 发布

您现在位置:Python中文网/ 问答频道 /正文

在dotcloud上构建Python/Django应用程序时,我突然遇到问题。似乎MySQL-python需要{}。我的要求.txt指定distribute==0.6.36,但这将被忽略。Dotcloud似乎正在使用0.6.10。有没有办法升级正在使用的分发包?在

在要求.txt在

Django==1.5.1
MySQL-python==1.2.4
PIL==1.1.7
Pygments==1.6
South==0.7.6
anyjson==0.3.3
boto==2.8.0
distribute==0.6.36
django-background-task==0.1.6
django-extensions==1.1.1
django-mptt==0.5.5
django-social-auth==0.7.22
django-storages==1.1.8
django-tinymce==1.5.1b4
djangorestframework==2.2.6
docutils==0.10
httplib2==0.8
importlib==1.0.2
oauth2==1.5.211
ordereddict==1.1
python-dateutil==1.5
python-openid==2.2.5
pytz==2013b
selenium==2.32.0
six==1.3.0
wsgiref==0.1.2

建筑商成绩单

^{pr2}$

Tags: djangotxt应用程序pilpygmentsmysqlbotodistribute
1条回答
网友
1楼 · 发布于 2024-05-18 11:06:14

我找到了一个使用pre-build hook的解决方法。构建器脚本中给出的easy_install建议不起作用,但它确实与pip一起工作。这是细节。在

在点云.yml在

www:
  type: python
  prebuild: ./prebuild
db:
  type: mysql

预构建(chmod+x)

^{pr2}$

相关问题 更多 >