Skip to content
Snippets Groups Projects
Commit d70ca149 authored by NDKDD's avatar NDKDD Committed by Adam Williamson
Browse files

Convert setup.py to pyproject.toml

parent d3db6235
No related branches found
No related tags found
No related merge requests found
.coverage 0 → 100644
File added
[project]
name = "mwclient"
version = "0.10.1"
description = "MediaWiki API client"
readme = "README.md"
requires-python = ">=2.7"
license = { file = "LICENSE.md" }
keywords = ["mediawiki", "wikipedia"]
authors = [
{ name = "Bryan Tong Minh", email = "bryan.tongminh@gmail.com" }
]
maintainers = []
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"requests-oauthlib",
"six"
]
[project.optional-dependencies]
test = [
'mock;python_version<"3.3"',
'pytest',
'pytest-cov',
'responses>=0.3.0',
'responses!=0.6.0',
'setuptools'
]
[project.urls]
"Homepage" = "https://github.com/mwclient/mwclient"
"Bug Reports" = "https://github.com/mwclient/mwclient/issues"
[build-system] [build-system]
requires = ["setuptools>=40.6.0", "wheel"] requires = ["setuptools>=40.6.0", "wheel"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
......
#!/usr/bin/env python
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), "r", encoding="utf-8") as f:
README = f.read()
setup(name='mwclient',
# See https://mwclient.readthedocs.io/en/latest/development/#making-a-release
# for how to update this field and release a new version.
version='0.11.0',
description='MediaWiki API client',
long_description=README,
long_description_content_type='text/markdown',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
keywords='mediawiki wikipedia',
author='Bryan Tong Minh',
author_email='bryan.tongminh@gmail.com',
url='https://github.com/mwclient/mwclient',
license='MIT',
packages=['mwclient'],
install_requires=['requests-oauthlib'],
extras_require={
'testing': ['pytest', 'pytest-cov',
'responses>=0.3.0', 'responses!=0.6.0', 'setuptools'],
},
zip_safe=True
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment