I am building a software which I plan to release with Apache 2.0 License and some components are code based from a repository released with MIT License.
MIT License states: "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." I understand that I should copy the whole license including copyright "(c) Creator-of-code", but WHERE should I put it? In a separate LICENSE file? or in the code itself?
If, for example, I put the original MIT license in the code, how then shall I put my own copyright, based on Apache 2.0 License? Will the following be valid?
sample_edited_code.py
# Copyright 2018 one_who_modified_the_original_code # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. ... # See the License for the specific language governing permissions and # limitations under the License. # MIT License # # Copyright (c) 2016 creator_of_original_code # # Permission is hereby granted, free of charge, to any person obtaining a copy ... # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE.