开发者

Is Django 1.3 alpha available in pypi yet?

开发者 https://www.devze.com 2023-01-24 09:49 出处:网络
I have a buildout script that gets django as a dependency. I\'d like to play with Django 1.3 in my project, but I don\'t want to download and install it, I\'d like my buildout to do that.

I have a buildout script that gets django as a dependency. I'd like to play with Django 1.3 in my project, but I don't want to download and install it, I'd like my buildout to do that.

Does anyone know how I can do this, or am I better off just downloading from the website and placing django in the appropriate spot?

UPDATE: I got this to work by changing the following in the 开发者_开发问答setup.py file


setup(
    install_requires = ('django=1.3-alpha-1',),
    dependency_links = ('http://www.djangoproject.com/download/1.3-alpha-1/tarball/#egg=django-1.3-alpha-1',),
)


Either you wait for django to be released in PyPI or you include it with your packaging solution.

Edit: If you want buildout to do it all for you, you can use the url attribute and let it download the package from the django website.

0

精彩评论

暂无评论...
验证码 换一张
取 消