django-sis should be installable and upgradable #20
Comments
./manage.py syncdb --migration should now work on a new installation. We should also consider running a script to install all dependencies. I believe there is a standard people usually use for dependencies rather than just running base. For example this project has them in their own file. So when I add a new dependency running fab upgrade will run this. We also need to take more care of specifying which version should be used. |
Move to a pip requirements file |
Install script chokes for me on the hatchery packages. It looks like pip support for relative paths is a big mess: Maybe fabric can rewrite the relative paths in the requirements file into absolute paths during an install. It shouldn't be difficult to do the same in bash if fabric isn't going to handle installs. |
You need a newer version of pip for it work work. Ugh. As commented in that issue the file:../ to get current path does actually work. To make it worse pip install --upgrade pip in ubuntu results in a broken path which a symlink can fix. This problem is out of the scope of django-sis. Proposed solution is to document the issue in install.txt and say you need to have pip >= 1.2.1 and that ubuntu (and prob debian) is lame. We can't run this on an install script as it's so nasty but we can document it must be done unless you happen in ubuntu 12.04. pip install --upgrade pipln -s /usr/local/bin/pip /usr/bin/pipWhat do you think? |
If https://github.com/burke-software/django-sis/blob/master/install/install.sh#L15 were split into one call for everything in pypi, using the requirements file, and other calls for hatchery stuff, would that work with older pip? |
Yea it used to be like that. It seems like the wrong way to do it. But if On Fri, Nov 30, 2012 at 4:01 PM, jnm notifications@github.com wrote:
|
Yeah it definitely is the wrong way :( |
@jnm this is no longer an issue is it? |
TIL bash caches executable paths. After running pip install --upgrade pip, bash still looks in the old location:
This can be cleared with I have code to check pip's version that I'm about to commit. |
I tried to do a fresh install on a clean VM and ran into some problems. These cropped up after doing the bare minimum of git clone, install.sh, and touch settings_local.py.
|
South integration - mostly done.
Install script - about 75% done.
Fabric update script - about 10% done.
The text was updated successfully, but these errors were encountered: