diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..1630342 --- /dev/null +++ b/setup.cfg @@ -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 diff --git a/setup.py b/setup.py index cc94f01..5bce6c2 100644 --- a/setup.py +++ b/setup.py @@ -2,30 +2,4 @@ import setuptools -with open("README.rst", "r", encoding="utf-8") as f: - 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"], -) +setuptools.setup()