MAIF / melusine

📧 Melusine: Use python to automatize your email processing workflow

Home Page:https://maif.github.io/melusine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup.py miss `melusine/config/config/config.json`

remi-perrier opened this issue · comments

When installing with pip, melusine/config/config/conf.json is missing.

image

Because glob in setup.py only capture JSON files in sub-folders of config, and skip JSON files in config folder itself.

Can be fixed by using glob.glob("melusine/config/**/*.json", recursive=True) instead of glob.glob("melusine/config/**/*.json").
I will create a pull request for this issue.

image

Well spotted !
Deltas between the pypi package and the github repo are tricky oO

We'll make the update