Ticket #3897 (closed enhancement: wontfix)
Opened 5 years ago
Last modified 5 years ago
[PATCH] - Enable use of __shared_dir__ within siteconfig.py
| Reported by: | ilias@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | devel |
| Severity: | normal | Keywords: | setuptools inheritance |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
The attached patch introduces the use of the attribute "shared_dir" within siteconfig.py.
This addition does not change the existent behaviour, thus installations do not break.
A user _can_ set this attribute and delete all existent default... attributes (which contain redundant path information).
Existent default... attributes have priority over the shared_dir attribute.
context:
Attachments
Change History
Changed 5 years ago by ilias@…
- Attachment SiteconfigSharedDir.diff added
Changed 5 years ago by ilias@…
- Attachment SiteconfigParentEnv.diff added
comment:1 Changed 5 years ago by ilias@…
further notes:
comment:2 Changed 5 years ago by ilias@…
blocks #3905
comment:3 Changed 5 years ago by ilias@…
related: wiki:TracDev/Proposals/Setuptools
comment:4 Changed 5 years ago by ilias@…
- Keywords setuptools inheritance added
- Owner changed from jonas to cmlenz
an possible implementation, which would be backwards compatible even if setuptools is introduced would be:
- apply the patch
- use the planned setuptools package-data
- if siteconfig.py is existent, the locations override the package-data
comment:5 Changed 5 years ago by ilias@…
related: setuptools-merge, see [4819]
comment:6 Changed 5 years ago by ilias@…
- Resolution set to wontfix
- Status changed from new to closed
Closing, as wontfix (or cannotfix) in the way suggested.
Reasoning:
The trac-code is read-only-data and must remain free of any configuration data.



new patch with corrected name of option "parent_env"