|
19 | 19 | "__version__", |
20 | 20 | "modname", |
21 | 21 | "pypi_name", |
22 | | - "py_modules", |
23 | | - "entry_points", |
24 | 22 | "__license__", |
25 | 23 | "__author__", |
26 | 24 | "short_desc", |
|
29 | 27 | "github_username", |
30 | 28 | "web", |
31 | 29 | "github_url", |
32 | | - "project_urls", |
33 | 30 | "repo_root", |
34 | | - "long_description", |
35 | 31 | "install_requires", |
36 | 32 | "extras_require", |
37 | | - "classifiers", |
38 | | - "keywords", |
| 33 | + "project_urls", |
| 34 | + |
39 | 35 | "import_name", |
40 | 36 | ] |
41 | 37 |
|
|
44 | 40 | """ |
45 | 41 |
|
46 | 42 | __version__ = "0.0.1" |
47 | | - |
48 | 43 | modname = "coverage_pyver_pragma" |
49 | 44 | pypi_name = "coverage_pyver_pragma" |
50 | 45 | import_name = "coverage_pyver_pragma" |
51 | | -py_modules = [] |
52 | | -entry_points = { |
53 | | - "console_scripts": [], |
54 | | - } |
55 | | - |
56 | 46 | __license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)" |
57 | | - |
58 | 47 | short_desc = "Plugin for Coverage.py to selectively ignore branches depending on the Python version." |
59 | | - |
60 | 48 | __author__ = author = "Dominic Davis-Foster" |
61 | 49 | author_email = "dominic@davis-foster.co.uk" |
62 | 50 | github_username = "domdfcoding" |
63 | | -web = github_url = f"https://github.com/domdfcoding/coverage_pyver_pragma" |
64 | | -project_urls = { |
65 | | - "Documentation": f"https://coverage_pyver_pragma.readthedocs.io", |
66 | | - "Issue Tracker": f"{github_url}/issues", |
67 | | - "Source Code": github_url, |
68 | | - } |
69 | | - |
| 51 | +web = github_url = "https://github.com/domdfcoding/coverage_pyver_pragma" |
70 | 52 | repo_root = pathlib.Path(__file__).parent |
| 53 | +install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n') |
| 54 | +extras_require = {'all': []} |
| 55 | + |
| 56 | + |
71 | 57 |
|
72 | | -# Get info from files; set: long_description |
73 | | -long_description = (repo_root / "README.rst").read_text(encoding="utf-8").replace("0.0.1", __version__) + '\n' |
74 | 58 | conda_description = """Plugin for Coverage.py to selectively ignore branches depending on the Python version. |
75 | 59 |
|
76 | 60 |
|
77 | 61 | Before installing please ensure you have added the following channels: domdfcoding, conda-forge""" |
78 | 62 | __all__.append("conda_description") |
79 | 63 |
|
80 | | -install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n') |
81 | | -extras_require = {'all': []} |
82 | | - |
83 | | -classifiers = [ |
84 | | - 'Development Status :: 4 - Beta', |
85 | | - 'Intended Audience :: Developers', |
86 | | - 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', |
87 | | - 'Operating System :: OS Independent', |
88 | | - 'Programming Language :: Python', |
89 | | - 'Programming Language :: Python :: 3 :: Only', |
90 | | - 'Programming Language :: Python :: 3.6', |
91 | | - 'Programming Language :: Python :: 3.7', |
92 | | - 'Programming Language :: Python :: 3.8', |
93 | | - 'Programming Language :: Python :: 3.9', |
94 | | - 'Programming Language :: Python :: Implementation :: CPython', |
95 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
96 | | - 'Topic :: Software Development :: Libraries :: Python Modules', |
97 | | - 'Topic :: Utilities', |
98 | | - 'Typing :: Typed', |
99 | 64 |
|
100 | | - ] |
101 | | - |
102 | | -keywords = "" |
| 65 | +project_urls = { |
| 66 | + "Documentation": "https://coverage_pyver_pragma.readthedocs.io", |
| 67 | + "Issue Tracker": f"{github_url}/issues", |
| 68 | + "Source Code": github_url, |
| 69 | + } |
0 commit comments