mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2024-11-22 14:32:11 +00:00
Convert setup.py setup(...) options to declarative setup.cfg
This commit is contained in:
parent
a9a3168345
commit
9dfb33f436
36
setup.cfg
Normal file
36
setup.cfg
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[metadata]
|
||||||
|
name = rsrcfork
|
||||||
|
version = attr: rsrcfork.__version__
|
||||||
|
url = https://github.com/dgelessus/python-rsrcfork
|
||||||
|
author = dgelessus
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 4 - Beta
|
||||||
|
Intended Audience :: Developers
|
||||||
|
Topic :: Software Development :: Libraries :: Python Modules
|
||||||
|
Topic :: Utilities
|
||||||
|
License :: OSI Approved :: MIT License
|
||||||
|
Operating System :: OS Independent
|
||||||
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
Programming Language :: Python :: 3 :: Only
|
||||||
|
Programming Language :: Python :: 3.6
|
||||||
|
license = MIT
|
||||||
|
license_file = LICENSE
|
||||||
|
description = A pure Python library for reading old Macintosh resource manager data
|
||||||
|
long_description = file: README.rst
|
||||||
|
long_description_content_type = text/x-rst
|
||||||
|
keywords =
|
||||||
|
rsrc
|
||||||
|
fork
|
||||||
|
resource
|
||||||
|
manager
|
||||||
|
macintosh
|
||||||
|
mac
|
||||||
|
macos
|
||||||
|
|
||||||
|
[options]
|
||||||
|
setup_requires =
|
||||||
|
setuptools>=39.2.0
|
||||||
|
python_requires = >=3.6
|
||||||
|
packages =
|
||||||
|
rsrcfork
|
28
setup.py
28
setup.py
@ -2,30 +2,4 @@
|
|||||||
|
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with open("README.rst", "r", encoding="utf-8") as f:
|
setuptools.setup()
|
||||||
long_description = f.read()
|
|
||||||
|
|
||||||
setuptools.setup(
|
|
||||||
name="rsrcfork",
|
|
||||||
version="1.1.2",
|
|
||||||
description="A pure Python library for reading old Macintosh resource manager data",
|
|
||||||
long_description=long_description,
|
|
||||||
url="https://github.com/dgelessus/python-rsrcfork",
|
|
||||||
author="dgelessus",
|
|
||||||
license="MIT",
|
|
||||||
classifiers=[
|
|
||||||
"Development Status :: 4 - Beta",
|
|
||||||
"Intended Audience :: Developers",
|
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
||||||
"Topic :: Utilities",
|
|
||||||
"License :: OSI Approved :: MIT License",
|
|
||||||
"Operating System :: OS Independent",
|
|
||||||
"Programming Language :: Python",
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
|
||||||
"Programming Language :: Python :: 3.6",
|
|
||||||
],
|
|
||||||
keywords="rsrc fork resource manager macintosh mac macos",
|
|
||||||
python_requires=">=3.6",
|
|
||||||
packages=["rsrcfork"],
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user