Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Julian Gethmann Newsgroups: de.comp.lang.python Subject: Re: [Python-de] develop/editable-mode und "flaches" Package in "src" Date: Fri, 5 Mar 2021 11:11:04 +0100 Lines: 27 Message-ID: References: <88603586-03f4-2c50-4bd8-f53523dbb3bb@crazy-compilers.com> <1cf8b220-5b5d-7162-edb9-c256a3d61a68@gethmann.org> <411e264d-3011-1438-aea6-c149a72b7db8@gethmann.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de qXzcNl51CWxuspEu/wkT7w3KLrp0VGm7aHkKA8CEFSSw== Return-Path: X-Original-To: python-de@python.org Delivered-To: python-de@mail.python.org Authentication-Results: mail.python.org; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy); dkim-atps=neutral User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 In-Reply-To: Content-Language: en-US X-BeenThere: python-de@python.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Die Deutsche Python Mailingliste List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <411e264d-3011-1438-aea6-c149a72b7db8@gethmann.org> X-Mailman-Original-References: <88603586-03f4-2c50-4bd8-f53523dbb3bb@crazy-compilers.com> <1cf8b220-5b5d-7162-edb9-c256a3d61a68@gethmann.org> Xref: csiph.com de.comp.lang.python:5724 Hi, > | packages | package_dir || wheel | install -e | > +----------+-------------++-------+------------+ > | gesetzt  | gesetzt     || okay  |  wrong     | heißt package_dir gesetzt hier ``` package_dir = trytond.modules.country_order=src ``` oder (meine Variante) ``` package_dir = =src ``` ? (Ist ja auch gesetzt, aber auf `=src` statt auf `trytond.modules.country_order=src`) >> Allerdings verwende ich auch Namespace-Pakete. > Meinst Du damit, dass Dein Package in src//trytond/modules/country_order > ist (bzw. wäre)? Ja, damit geht es. Aber ich will halt die unnötigen > Verzeichnis-Ebenen nicht haben :-) Ja, bei mir wären die Module dann in src/trytond/modules/country_order und in der setup.cfg stünde zusätzlich `packages = find_namespace:` Aber, ja, das ist von der Struktur her anders.