def collection_index(self):
indexes = self.options.index<EOL>indexes.insert(<NUM_LIT:0>, os.getcwd())<EOL>if '<STR_LIT>' in os.environ:<EOL><INDENT>indexes.extend(os.environ['<STR_LIT>'].split('<STR_LIT:;>'))<EOL><DEDENT>indexes.append(os.path.join(os.path.dirname(__file__), '<STR_LIT>').replace('<STR_LIT:\\>', '<STR_LIT:/>'))<EOL>return indexes<EOL>
Collection index link to self.indexes, the order should be:
1. command argument
2. environment
3. default packages directory