I am trying to convert the current Django project to development in order to use zc.buildout. So far, I have all the bits, except that Haystack has figured out.
Haystack source is available on GitHub, but I do not want to force users to install git. It seems like a suitable alternative is getting tarball from here
This tarball contains setuptools setup.py, and it looks like it should be so easy to get buildout to install it. Halp!
They seem to have fixed the tarball package. James's plugin isnβt working right now, but you can use the same recipe by passing it the standard url:
[haystack] recipe = collective.recipe.distutils url = http://github.com/toastdriven/django-haystack/tarball/master
It worked for me and 100% hacked.
I figured this out without sending it to PyPI. (In fact, the release version of django-haystack has not been flagged, so posting to PyPI seems unclean. This is something that should support and will probably do better.)
The relevant section is as follows:
[haystack] recipe = collective.recipe.distutils url = http://github.com/ephelon/django-haystack/tarball/master
I had to create a project fork to remove zip_safe=Falsefrom setup.py. Once I have done what works flawlessly above, even the redirect sent by the above URL.
zip_safe=False
.
[django-haystack] recipe = zerokspot.recipe.git repository = git://github.com/toastdriven/django-haystack.git as_egg = true [whoosh] recipe = zerokspot.recipe.git repository = git://github.com/toastdriven/whoosh.git branch = haystacked as_egg = true
, extra-paths.
extra-paths
, GIT, . , . . , . , , , , , . .
, -, , . -, find-links buildout, .
, , , Haystack PyPI, ! ( ).
Source: https://habr.com/ru/post/1712733/More articles:Silverlight 3: How to save PathGeometry to a resource library - silverlight-3.0Filtering Django-sphinx results using attributes? - filterCoinitialize Error in IntraWeb using ADO - delphiUser.IsInRole error when using VS 2008 debugging web server in Windows 7 using Windows Auth - windows-7problem with compiling junit test class with ant - javaHow to create a custom WPF collection? - collectionsto cache or not to cache - ajaxWhy am I getting a popup instead of a text modal dialog when I call requireSession or does I press fb: login-button? - facebookFully Implementing .NET ZerConf for XNA - c #Floating menu to stop before it gets to the bottom of the page - javascriptAll Articles