Opened 6 years ago
Closed 6 years ago
#15 closed enhancement (invalid)
Initial setup .py / .sh / .bat script
Reported by: | dmartinc | Owned by: | pferreir |
---|---|---|---|
Priority: | normal | Milestone: | v0.97.0 |
Component: | Installation | Version: | 0.97.0 |
Keywords: | install | Cc: |
Description
Juan already developed a function that takes care of directory creation / other tasks after an .egg install. It is located in MaKaC.consoleScripts.indicoInitialSetup.py ( main() function).
So it is already possible to perform this initial setup by launching an interpreter, importing MaKaC.consoleScripts.indicoInitialSetup (which will be available because the .egg will be already in the python path) and calling main().
However we should also write a .py / .sh / .bat script that the user only has to execute in order to call this.
Also, if possible, the .egg install function should place this file in the bin directory of the user, so that it is even easier to call. For this we can write code in the bdist_egg_indico function.
Change History (2)
comment:1 Changed 6 years ago by pferreir
- Owner set to pferreir
- Status changed from new to accepted
comment:2 Changed 6 years ago by pferreir
- Resolution set to invalid
- Status changed from accepted to closed
That's already done. It's passed as a console script for the setup function, thus being included in the user's path.
Closing ticket as invalid.