|
33 | 33 | # 3.4 | pip | 19.1.1 | |
34 | 34 |
|
35 | 35 | # Things that change more often go here. |
36 | | -copyright = """ |
| 36 | +copyright = """ |
37 | 37 | Copyright (C) 2015-2020 Rocky Bernstein <rb@dustyfeet.com>. |
38 | 38 | """ |
39 | 39 |
|
40 | | -classifiers = ["Development Status :: 5 - Production/Stable", |
41 | | - "Intended Audience :: Developers", |
42 | | - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", |
43 | | - "Operating System :: OS Independent", |
44 | | - "Programming Language :: Python", |
45 | | - "Programming Language :: Python :: 2.4", |
46 | | - "Programming Language :: Python :: 2.5", |
47 | | - "Programming Language :: Python :: 2.6", |
48 | | - "Programming Language :: Python :: 2.7", |
49 | | - "Programming Language :: Python :: 3.0", |
50 | | - "Programming Language :: Python :: 3.1", |
51 | | - "Programming Language :: Python :: 3.2", |
52 | | - "Programming Language :: Python :: 3.3", |
53 | | - "Programming Language :: Python :: 3.4", |
54 | | - "Programming Language :: Python :: 3.5", |
55 | | - "Programming Language :: Python :: 3.6", |
56 | | - "Programming Language :: Python :: 3.7", |
57 | | - "Programming Language :: Python :: 3.8", |
58 | | - "Topic :: Software Development :: Debuggers", |
59 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
60 | | - ] |
| 40 | +classifiers = [ |
| 41 | + "Development Status :: 5 - Production/Stable", |
| 42 | + "Intended Audience :: Developers", |
| 43 | + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", |
| 44 | + "Operating System :: OS Independent", |
| 45 | + "Programming Language :: Python", |
| 46 | + "Programming Language :: Python :: 2.4", |
| 47 | + "Programming Language :: Python :: 2.5", |
| 48 | + "Programming Language :: Python :: 2.6", |
| 49 | + "Programming Language :: Python :: 2.7", |
| 50 | + "Programming Language :: Python :: 3.0", |
| 51 | + "Programming Language :: Python :: 3.1", |
| 52 | + "Programming Language :: Python :: 3.2", |
| 53 | + "Programming Language :: Python :: 3.3", |
| 54 | + "Programming Language :: Python :: 3.4", |
| 55 | + "Programming Language :: Python :: 3.5", |
| 56 | + "Programming Language :: Python :: 3.6", |
| 57 | + "Programming Language :: Python :: 3.7", |
| 58 | + "Programming Language :: Python :: 3.8", |
| 59 | + "Topic :: Software Development :: Debuggers", |
| 60 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 61 | +] |
61 | 62 |
|
62 | 63 | # The rest in alphabetic order |
63 | | -author = "Rocky Bernstein, Hartmut Goebel, John Aycock, and others" |
64 | | -author_email = "rb@dustyfeet.com" |
65 | | -entry_points = { |
| 64 | +author = "Rocky Bernstein, Hartmut Goebel, John Aycock, and others" |
| 65 | +author_email = "rb@dustyfeet.com" |
| 66 | +entry_points = { |
66 | 67 | "console_scripts": [ |
67 | 68 | "uncompyle6=uncompyle6.bin.uncompile:main_bin", |
68 | 69 | "pydisassemble=uncompyle6.bin.pydisassemble:main", |
69 | | - ]} |
70 | | -ftp_url = None |
71 | | -install_requires = ["spark-parser >= 1.8.9, < 1.9.0", |
72 | | - "xdis >= 4.7.0, <5.1.0"] |
73 | | - |
74 | | -license = "GPL3" |
75 | | -mailing_list = "python-debugger@googlegroups.com" |
76 | | -modname = "uncompyle6" |
77 | | -py_modules = None |
78 | | -short_desc = "Python cross-version byte-code decompiler" |
79 | | -web = "https://github.com/rocky/python-uncompyle6/" |
| 70 | + ] |
| 71 | +} |
| 72 | +ftp_url = None |
| 73 | +install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 5.0.4, <5.1.0"] |
| 74 | + |
| 75 | +license = "GPL3" |
| 76 | +mailing_list = "python-debugger@googlegroups.com" |
| 77 | +modname = "uncompyle6" |
| 78 | +py_modules = None |
| 79 | +short_desc = "Python cross-version byte-code decompiler" |
| 80 | +web = "https://github.com/rocky/python-uncompyle6/" |
80 | 81 |
|
81 | 82 | # tracebacks in zip files are funky and not debuggable |
82 | 83 | zip_safe = True |
83 | 84 |
|
84 | 85 |
|
85 | 86 | import os.path |
| 87 | + |
| 88 | + |
86 | 89 | def get_srcdir(): |
87 | 90 | filename = os.path.normcase(os.path.dirname(os.path.abspath(__file__))) |
88 | 91 | return os.path.realpath(filename) |
89 | 92 |
|
| 93 | + |
90 | 94 | srcdir = get_srcdir() |
91 | 95 |
|
| 96 | + |
92 | 97 | def read(*rnames): |
93 | 98 | return open(os.path.join(srcdir, *rnames)).read() |
94 | 99 |
|
| 100 | + |
95 | 101 | # Get info from files; set: long_description and VERSION |
96 | | -long_description = ( read("README.rst") + "\n" ) |
| 102 | +long_description = read("README.rst") + "\n" |
97 | 103 | exec(read("uncompyle6/version.py")) |
0 commit comments