-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retire le dossier Extensions #760
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Quelques lignes vides à supprimer
- Manque le changelog
@@ -13,8 +13,7 @@ | |||
|
|||
|
|||
COUNTRY_DIR = os.path.dirname(os.path.abspath(__file__)) | |||
EXTENSIONS_PATH = os.path.join(COUNTRY_DIR, 'extensions') | |||
EXTENSIONS_DIRECTORIES = glob.glob(os.path.join(EXTENSIONS_PATH, '*/')) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cette ligne vide n'est pas nécessaire.
@@ -59,8 +58,7 @@ def __init__(self): | |||
|
|||
self.add_variables_from_directory(os.path.join(COUNTRY_DIR, 'model')) | |||
self.cache_blacklist = conf_cache_blacklist | |||
for extension_dir in EXTENSIONS_DIRECTORIES: | |||
self.load_extension(extension_dir) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cette ligne vide n'est pas nécessaire.
2574e3d
to
bf93900
Compare
CHANGELOG.md
Outdated
|
||
* Changement mineur | ||
* Détails : | ||
- Supprime le système de chargement automatique des extensions via le dossier `extensions` . Ce système a été remplacé par l'import d'OpenFisca France dans le template de l'extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ce système a été remplacé par l'import d'OpenFisca France dans le template de l'extension.
->
Les extensions sont maintenant installées sous la forme de packages indépendants.
Connected to #736
Delete openfisca-france/openfisca_france/extensions
openfisca-france/.gitignore, line 19
in openfisca-france/openfisca_france/france_taxbenefitsystem.py line 16, 17
openfisca-france/openfisca_france/france_taxbenefitsystem.py line 60
Ces changements (effacez les lignes ne correspondant pas à votre cas) :