scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

Creating a executable of ScanCode-toolkit

Open SrikanthShyamanur opened this issue 4 years ago • 3 comments
trafficstars

Creating a executable of ScanCode-toolkit

Possible Labels

  • installation and packaging
  • new feature

Select Category

  • [x] Enhancement
  • [ ] Add License/Copyright
  • [ ] Scan Feature
  • [x] Packaging
  • [ ] Documentation
  • [ ] Expand Support
  • [ ] Other

Describe the Update

To run ScanCode independent of python environment. So we can eliminate the prerequisites.

How This Feature will help you/your organization

It will help all.

Possible Solution/Implementation Details

We can try to create ScanCode executable using pyinstaller.

Can you help with this Feature

Difficult, I am new to Python. I will try it for myself, If I get positive results I will share and help further.

SrikanthShyamanur avatar Mar 09 '21 11:03 SrikanthShyamanur

@SrikanthShyamanur Thanks! @Abhishek-Dev09 did you investigate this already a bit may be?

pombredanne avatar Mar 09 '21 15:03 pombredanne

@SrikanthShyamanur : You may also consider flatpak , shiv , snap , Appimage and many more

Abhishek-Dev09 avatar Mar 09 '21 18:03 Abhishek-Dev09

I made a few tests with shiv which works almost beautifully... but there is a bug in Python and this cannot work for now https://github.com/linkedin/shiv/issues/224

pombredanne avatar Aug 16 '22 07:08 pombredanne

@pombredanne can we revisit this now that https://github.com/nexB/scancode-toolkit/pull/3100 has landed on develop?

AyanSinhaMahapatra avatar Nov 01 '22 17:11 AyanSinhaMahapatra

Trying out Codon could also be interesting here.

sschuberth avatar Dec 09 '22 07:12 sschuberth

@sschuberth Codon would be awesome if only it were open source. That's a proprietary license of the kind that pretends to be like an open source one :|

pombredanne avatar Dec 09 '22 15:12 pombredanne