Re: develop/editable-mode und "flaches" Package in "src"

Julian Gethmann <[email protected]>
Newsgroups gmane.comp.python.general.german
Message-ID <[email protected]>
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.
_______________________________________________
python-de maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/python-de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.