You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _Python tools for the Polylith Architecture_ has support for building libraries to be published at PyPI,
46
+
even if it isn't the main use case.
46
47
47
-
_Hatch support for packaging libraries is currently being developed._
48
-
49
-
The plugin has support for building libraries to be published at PyPI, even if it isn't the main use case.
50
-
But why? By default, the code in one library will share the same top namespace with other libraries that are
51
-
built from the same Polylith Monorepo.
52
-
53
-
To solve this, there's a feature available that will organize code according to a custom top namespace and re-write the imports.
48
+
Important note: by default, the code in one library will share the same top namespace with other libraries that are
49
+
built from the same Polylith Monorepo. To solve this, there's a feature available that will organize code according to a custom top namespace and re-write the imports.
54
50
51
+
#### Poetry
55
52
You can choose a custom namespace to be used in the build process, by using the `--with-top-namespace` flag.
56
53
This is available for __Python 3.9__ and above.
57
54
@@ -61,7 +58,26 @@ The `build-project` command, with a custom top namespace:
0 commit comments