|
1 | | - |
2 | 1 | #!/usr/bin/env python |
3 | | -# -*- coding: utf-8 -*- |
| 2 | +# -*- coding: UTF-8 -*- |
4 | 3 |
|
5 | | -from __future__ import absolute_import, division, print_function, unicode_literals |
| 4 | +from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes |
6 | 5 |
|
7 | 6 | """ |
8 | 7 | neofile.py — CLI for the PyNeoFile format (.neo). |
|
16 | 15 | import os, sys, argparse, tempfile, tarfile, io, base64 |
17 | 16 | import pyneofile as N |
18 | 17 |
|
19 | | -__project__ = pyneofile.__project__ |
20 | | -__program_name__ = pyneofile.__program_name__ |
21 | | -__file_format_name__ = pyneofile.__file_format_name__ |
22 | | -__file_format_magic__ = pyneofile.__file_format_magic__ |
23 | | -__file_format_len__ = pyneofile.__file_format_len__ |
24 | | -__file_format_hex__ = pyneofile.__file_format_hex__ |
25 | | -__file_format_delimiter__ = pyneofile.__file_format_delimiter__ |
26 | | -__file_format_dict__ = pyneofile.__file_format_dict__ |
27 | | -__file_format_default__ = pyneofile.__file_format_default__ |
28 | | -__file_format_multi_dict__ = pyneofile.__file_format_multi_dict__ |
29 | | -__use_new_style__ = pyneofile.__use_new_style__ |
30 | | -__use_advanced_list__ = pyneofile.__use_advanced_list__ |
31 | | -__use_alt_inode__ = pyneofile.__use_alt_inode__ |
32 | | -__project_url__ = pyneofile.__project_url__ |
33 | | -__version_info__ = pyneofile.__version_info__ |
34 | | -__version_date_info__ = pyneofile.__version_date_info__ |
35 | | -__version_date__ = pyneofile.__version_date__ |
36 | | -__version_date_plusrc__ = pyneofile.__version_date_plusrc__ |
37 | | -__version__ = pyneofile.__version__ |
| 18 | +__project__ = N.__project__ |
| 19 | +__program_name__ = N.__program_name__ |
| 20 | +__project_url__ = N.__project_url__ |
| 21 | +__version_info__ = N.__version_info__ |
| 22 | +__version_date_info__ = N.__version_date_info__ |
| 23 | +__version_date__ = N.__version_date__ |
| 24 | +__version_date_plusrc__ = N.__version_date_plusrc__ |
| 25 | +__version__ = N.__version__ |
38 | 26 |
|
39 | 27 | def _stdout_bin(): |
40 | 28 | return getattr(sys.stdout, "buffer", sys.stdout) |
|
0 commit comments