def _preparse_requirement(self, requires_dist):
parts = requires_dist.split('<STR_LIT:;>', <NUM_LIT:1>) + ['<STR_LIT>']<EOL>distvers = parts[<NUM_LIT:0>].strip()<EOL>mark = parts[<NUM_LIT:1>].strip()<EOL>distvers = re.sub(self.EQEQ, r"<STR_LIT>", distvers)<EOL>distvers = distvers.replace('<STR_LIT:(>', '<STR_LIT>').replace('<STR_LIT:)>', '<STR_LIT>')<EOL>return (distvers, mark)<EOL>
Convert 'Foobar (1); baz' to ('Foobar ==1', 'baz')
        Split environment marker, add == prefix to version specifiers as
        necessary, and remove parenthesis.