| 1 | From bc2013b76df8ebf404565a831f77f325cb95df1a Mon Sep 17 00:00:00 2001
|
| 2 | From: Theodore Ni <[email protected]>
|
| 3 | Date: Sun, 30 Jul 2023 10:05:54 -0700
|
| 4 | Subject: [PATCH] Remove unmaintained d2to1 during setup.
|
| 5 |
|
| 6 | ---
|
| 7 | setup.cfg | 27 +++++++--------------------
|
| 8 | setup.py | 10 +---------
|
| 9 | 2 files changed, 8 insertions(+), 29 deletions(-)
|
| 10 |
|
| 11 | diff --git a/setup.cfg b/setup.cfg
|
| 12 | index a6616d0..0bf46f4 100644
|
| 13 | |
| 14 | |
| 15 | @@ -1,20 +1,16 @@
|
| 16 | [metadata]
|
| 17 | name = %%name%%
|
| 18 | version = %%version%%
|
| 19 | -summary = %%description%%
|
| 20 | -description-file =
|
| 21 | - README.rst
|
| 22 | - CHANGELOG.rst
|
| 23 | - TODO.rst
|
| 24 | -license_file = LICENSE
|
| 25 | -requires-dist =
|
| 26 | +description = %%description%%
|
| 27 | +long_description = file: README.rst, CHANGELOG.rst, TODO.rst
|
| 28 | +license_files = LICENSE
|
| 29 |
|
| 30 | ## sdist info
|
| 31 | author = %%author%%
|
| 32 | author_email = %%email%%
|
| 33 | -home_page = http://github.com/vaab/%%name%%
|
| 34 | +url = http://github.com/vaab/%%name%%
|
| 35 | license = BSD 3-Clause License
|
| 36 | -classifier =
|
| 37 | +classifiers =
|
| 38 | Programming Language :: Python
|
| 39 | Topic :: Software Development :: Libraries :: Python Modules
|
| 40 | Development Status :: 3 - Alpha
|
| 41 | @@ -29,19 +25,10 @@ classifier =
|
| 42 | Programming Language :: Python :: 3.6
|
| 43 |
|
| 44 |
|
| 45 | -[files]
|
| 46 | -modules = %%name%%
|
| 47 | -extra_files =
|
| 48 | - README.rst
|
| 49 | - CHANGELOG.rst
|
| 50 | - TODO.rst
|
| 51 | - setup.py
|
| 52 | -
|
| 53 | -
|
| 54 | -[backwards_compat]
|
| 55 | +[options]
|
| 56 | ## without this ``pip uninstall`` fails on recent version of setuptools
|
| 57 | ## (tested failing with setuptools 34.3.3, working with setuptools 9.1)
|
| 58 | -zip-safe = False
|
| 59 | +zip_safe = False
|
| 60 |
|
| 61 |
|
| 62 | [bdist_wheel]
|
| 63 | diff --git a/setup.py b/setup.py
|
| 64 | index 47038f9..11a8d3a 100644
|
| 65 | |
| 66 | |
| 67 | @@ -54,12 +54,4 @@
|
| 68 | sys.exit(errlvl)
|
| 69 |
|
| 70 |
|
| 71 | -##
|
| 72 | -## Normal d2to1 setup
|
| 73 | -##
|
| 74 | -
|
| 75 | -setup(
|
| 76 | - setup_requires=['d2to1'],
|
| 77 | - extras_require={'test': ['nose', ]},
|
| 78 | - d2to1=True
|
| 79 | -)
|
| 80 | +setup(extras_require={'test': ['nose', ]})
|