SUPPA icon indicating copy to clipboard operation
SUPPA copied to clipboard

Better setup.py with installation of scripts

Open antpiron opened this issue 6 years ago • 1 comments

Dear SUPPA2 dev.,

In this small patch:

  • I added a setup.py based on the one used for pip which was missing in the repository;
  • The scripts are also installed (more than just the library);
  • The script files are now prefixed with suppa2_ in order to not pollute the namespace as they are installed;
  • I moved the sub-commands in the library in the suppa directory;
  • I updated the README.md accordingly;
  • I made some cleanup of the line terminator which were a mix of dos/unix with dos2unix command.

After an install using

python3 setup.py install

suppa2.py is callable without the full path and the scripts with suppa2_NAMEOFTHESCRIPT.

Best regards, Anthony.

antpiron avatar Feb 25 '19 09:02 antpiron

⬆️

abearab avatar Jun 09 '24 09:06 abearab