Files
2012-02-21 01:15:00 -05:00

1 line
3.8 KiB
JSON

[{"user_id": 32856, "stars": [], "topic_id": 41495, "date_created": 1310160064.7591441, "message": "There's \"virtualenv --relocatable\", but you almost certainly don't want to copy a virtualenv across systems. It's too easy to create a new one.", "group_id": 81, "id": 1596143}, {"user_id": 18281, "stars": [], "topic_id": 41495, "date_created": 1310158902.731925, "message": "new mac time, came imaged with new software, so i couldnt clone etc. whats the proper way of migrating my virtualenvs from the old mac to the new one?", "group_id": 81, "id": 1596007}, {"user_id": 18281, "stars": [], "topic_id": 41495, "date_created": 1310158958.040035, "message": "tried zipping, copying via memstick and unzipping, but workon doesn't see them", "group_id": 81, "id": 1596010}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159305.6118691, "message": "My understanding is that virtualenvs aren't made to be portable. Doesn't mean it *can't* work, but it might not", "group_id": 81, "id": 1596044}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159368.5683861, "message": "You could try recreating them via something like:", "group_id": 81, "id": 1596053}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159381.4317789, "message": "for each virtualenv, activate it", "group_id": 81, "id": 1596054}, {"user_id": 33633, "stars": [{"date_created": 1310162539.6477561, "user_id": 6415}, {"date_created": 1311079105.433126, "user_id": 927}], "topic_id": 41495, "date_created": 1310159765.786267, "message": "Yup, always do a pip install requirements file. Rebuild it, don't copy it.", "group_id": 81, "id": 1596102}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159464.3169301, "message": "virtualenv name / mkvirtualenv name", "group_id": 81, "id": 1596072}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159390.985894, "message": "run `pip freeze`", "group_id": 81, "id": 1596055}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159421.9543519, "message": "er.. pip freeze > some-env-reqs.txt", "group_id": 81, "id": 1596060}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159447.800755, "message": "then on the other side", "group_id": 81, "id": 1596064}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159456.317174, "message": "for each virtualenvname", "group_id": 81, "id": 1596067}, {"user_id": 2588, "stars": [], "topic_id": 41495, "date_created": 1310159478.8620551, "message": "pip install -r the-env-reqs.txt", "group_id": 81, "id": 1596075}, {"user_id": 18281, "stars": [], "topic_id": 41495, "date_created": 1310158936.0830679, "message": "tried copying to NAS but its a buffalo terastation which screws the permissions up", "group_id": 81, "id": 1596008}, {"user_id": 18281, "stars": [], "topic_id": 41495, "date_created": 1310159358.510282, "message": "yeah, coming to that conclusion. i guess its not too harsh to just recreate and drop the files in the first time i need it.", "group_id": 81, "id": 1596050}, {"user_id": 37199, "stars": [], "topic_id": 41495, "date_created": 1310160356.0976801, "message": "rebuilding is definitely the way. if you have some custom scripts in /bin you can just copy them manually", "group_id": 81, "id": 1596178}, {"user_id": 8391, "stars": [{"date_created": 1310162195.721272, "user_id": 4156}, {"date_created": 1310440862.420505, "user_id": 1736}], "topic_id": 41495, "date_created": 1310159712.549484, "message": "Well, virtualenvs are technically portable. It's the Python interpreter binary inside of them that 99% of the time isn't :)", "group_id": 81, "id": 1596096}, {"user_id": 33347, "stars": [], "topic_id": 41495, "date_created": 1310311676.126888, "message": "`pip freeze -l > requirements.pip`", "group_id": 81, "id": 1604858}]