Thread View: pl.comp.lang.python
4 messages
4 total messages
Started by Krzysztof Dorosz
Sat, 20 Oct 2012 21:37
pip freeze nie dodaje ścieżki editable
Author: Krzysztof Dorosz
Date: Sat, 20 Oct 2012 21:37
Date: Sat, 20 Oct 2012 21:37
14 lines
2248 bytes
2248 bytes
Instaluje z opcją "editable" taki pakiet z github: $ pip install -e git+https://github.com/cypreess/django-getpaid.git#egg=django-getpaid $ pip install -e git+https://github.com/novagile/django-email-change.git#egg=django-email-change I teraz problem - dla pakietu getpaid freeze zwraca sciezke z ktorej zainstalowac wersje editable, dla pakietu email-change nie. $ pip freeze Django==1.4.2 django-email-change==0.2.3 -e git+https://github.com/cypreess/django-getpaid.git@b7a5c8e8f52b9ba023068f80364ab8d257964d50#egg=django_getpaid-dev Nie rozumiem dlaczego tak się dzieje? Co zrobić żeby pip freeze poprawnie zamroził pakiet django-email-change. Tak skonstruowany pip freeze jest bezuzyteczny, bo odtworzenie z opcją -r nie jest mozliwe, pakiet django-email-change w wersji 0.2.3 nie istnieje w pypi.
Re: pip freeze nie dodaje ścieżki editable
Author: lrekucki
Date: Sun, 21 Oct 2012 11:47
Date: Sun, 21 Oct 2012 11:47
13 lines
1652 bytes
1652 bytes
To jest błąd w PIP: https://github.com/pypa/pip/issues/335 https://github.com/pypa/pip/issues/609 Problem jest z dowolnym pakietem, gdzie źródła nie są w głównym katalogu. Te zmiany wydają się to poprawiać Ale swoją drogą, to po co w requirements umieszczać rzeczy "editable" - link do repozytorium ok, ale po co wersja edytowalna? Inna sprawa to, że wersja w repozytorium, która nie jest na PyPI, powinna mieć suffix '.devN' [1]. [1]: https://github.com/pypa/pip/pull/636 [2]: http://www.python.org/dev/peps/pep-0386/#the-new-versioning-algorithm
Re: pip freeze nie dodaje ścieżki editable
Author: lrekucki
Date: Sun, 21 Oct 2012 11:59
Date: Sun, 21 Oct 2012 11:59
15 lines
1998 bytes
1998 bytes
On Sunday, 21 October 2012 13:47:17 UTC+2, lrek...@gmail.com wrote: > > Problem jest z dowolnym pakietem, gdzie źródła nie są w głównym katalogu. Te zmiany wydają się to poprawiać > Chodziło o link [1]: https://github.com/pypa/pip/pull/636 > > Inna sprawa to, że wersja w repozytorium, która nie jest na PyPI, powinna mieć suffix '.devN' [1]. > Miało być [2]: http://www.python.org/dev/peps/pep-0386/#the-new-versioning-algorithm. Pozdrawiam, Łukasz Rekucki
Re: pip freeze nie dodaje ścieżki editable
Author: Krzysztof Dorosz
Date: Sun, 21 Oct 2012 16:33
Date: Sun, 21 Oct 2012 16:33
8 lines
1809 bytes
1809 bytes
On Sunday, October 21, 2012 1:47:17 PM UTC+2, lrek...@gmail.com wrote: > To jest błąd w PIP: Dzięki. > Ale swoją drogą, to po co w requirements umieszczać rzeczy "editable" - link do repozytorium ok, ale po co wersja edytowalna? -e to lenistwo pochodzące z tego co generuje pip freeze. W kontekscie odtworzenia srodowiska pod uruchomienie - masz racje - to bez sensu.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads