-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move package configuration to declarative config (#557)
* Add pyproject.toml declaring build dependency on setuptools. * Reformat using ruff (to avoid diffs for editors with ruff autosave). * Fix typo in package_data * Move Description to setup.cfg * Remove 'license' field, which is redundant and recommended against. * Move 'version' to setup.cfg * Move the remaining metadata into setup.cfg. * Remove build_py cmdclass as it's the default.
- Loading branch information
Showing
3 changed files
with
86 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,47 @@ | ||
[metadata] | ||
name = comtypes | ||
description = Pure Python COM package | ||
author = Thomas Heller | ||
author_email = theller@python.net | ||
url = https://github.com/enthought/comtypes | ||
download_url = https://github.com/enthought/comtypes/releases | ||
version = attr:comtypes.__version__ | ||
long_description = file:README.md | ||
long_description_content_type = text/markdown | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
Operating System :: Microsoft :: Windows | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Topic :: Software Development :: Libraries :: Python Modules | ||
|
||
[options] | ||
python_requires = >=3.7 | ||
|
||
packages = | ||
comtypes | ||
comtypes.client | ||
comtypes.server | ||
comtypes.tools | ||
comtypes.tools.codegenerator | ||
comtypes.test | ||
|
||
[options.package_data] | ||
comtypes.test = | ||
TestComServer.idl | ||
TestComServer.tlb | ||
TestDispServer.idl | ||
TestDispServer.tlb | ||
mytypelib.idl | ||
mylib.idl | ||
mylib.tlb | ||
urlhist.tlb | ||
test_jscript.js | ||
comtypes = | ||
hints.pyi | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
clear_comtypes_cache = comtypes.clear_cache:main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters