Open chetanya-shrimali opened 6 years ago
regarding #106 Plz review @singh1114 @pombredanne
It can also be written as mentioned above. Actually it is able to execute using git bash on windows but what it will do is install the requirements only. We i will have to add if-else condition and define methods for windows. I can proceed to it if you are ok with it. @pombredanne plz review!!
The point is not it executes, but that it pass the tests on Python3. If you can install and pass the tests of https://github.com/nexB/scancode-toolkit on Python3 that would be news to me.
@pombredanne That was the problem we discussed earlier regarding issue #100 in pr #105. And finalized that we have to consider that the user has already installed scancode-toolkit
.
If we keep in mind that, then there is no further need install scancode-toolkit
requirement and it will pass.
Plz correct me if i got your point the wrong way 😉
scancode-toolkit DOES NOT RUN on Python3, therefore scancode-server that depends on scancode-toolkit CANNOT RUN on Python3, simple.
@pombredanne Pardon, but i changed it to Python 2.7 😓
@pombredanne plz review!
@pombredanne The error is at line 11 of etc/conf/dev/base.txt
. Error message is no module named encodings
. Which comes when running install.sh.
Thanks. I think you have copied too much from scancode etc/ ..... take only what is strictly needed. Not everything. Also how come there are 17K+ file changed? that does not sound right?
What is media/AnonymousUser
? Why did you commit bin, lib, include and all your local virtual env things? This should never be commited and part of the gitignore (see the gitignore in scancode-toolkit)
Thanks!. what is the etc/configure2.py file in the commits?
And what are the changes you made to the original script?
This is not the final commit :sweat_smile:
@pombredanne plz review. I will document it after we reach on a common solution. Thanks!
Thanks! Your commit message needs to match our style. It is missing a signed-off-by and the subject should use the imperative style eg
Add installation script #106
Signed-off-by: name <email>
@pombredanne i have added wincertstore in third-party dir than why does it show error?
@pombredanne Its been a while since the pr was opened. @singh1114 plz review.
run using
source ./installation.sh
It will do following things:scancode-server
Signed-off-by: chetanya-shrimali chetanyashrimalie5@gmail.com