File: futurize.py

package info (click to toggle)
python-future 0.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,316 kB
  • sloc: python: 42,522; makefile: 141; sh: 41
file content (24 lines) | stat: -rwxr-xr-x 544 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
"""
futurize.py
===========

This script is only used by the unit tests. Another script called
"futurize" is created automatically (without the .py extension) by
setuptools.

futurize.py attempts to turn Py2 code into valid, clean Py3 code that is
also compatible with Py2 when using the ``future`` package.


Licensing
---------
Copyright 2013-2016 Python Charmers Pty Ltd, Australia.
The software is distributed under an MIT licence. See LICENSE.txt.
"""

import sys

from libfuturize.main import main

sys.exit(main())