Commit Graph

11 Commits (2abad67e52c034ff4a94bad00c31f9ba4aa496f2)

Author SHA1 Message Date
Sergey M․ 611c1dd96e [refactor] Single quotes consistency
Yen Chi Hsuan 95240b8093 Use `insert` for all sys.path manipulations
Closes .
Philipp Hagemeister dcddc10a50 [test_unicode_literals] Arm unicode_literals check
From now on, the line

from __future__ import unicode_literals

should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
Adam Mesha 8743974189 Resolve the symlink if __main__.py is invoke as a symlink.
Filippo Valsorda 5a304a7637 new updating scheme, based on GH downloads; also, check if not updateable (pip installed)
Filippo Valsorda fec89790b1 and now, also py2exe compiles fine :) (on Windows)
Philipp Hagemeister 743b28ce11 Allow youtube_dl/__main__.py to be called directly
Philipp Hagemeister f1cb5bcad2 Make __main__ work in all scenarios with relative imports
Philipp Hagemeister 9e8056d5a7 Use relative imports
Philipp Hagemeister 59ae15a507 Convert all tabs to 4 spaces (PEP8)
Filippo Valsorda d77c3dfd02 Split code as a package, compiled into an executable zip