Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mwclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WebU
shared
mwclient
Commits
d70ca149
Commit
d70ca149
authored
1 year ago
by
NDKDD
Committed by
Adam Williamson
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Convert setup.py to pyproject.toml
parent
d3db6235
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.coverage
+0
-0
0 additions, 0 deletions
.coverage
pyproject.toml
+47
-0
47 additions, 0 deletions
pyproject.toml
setup.py
+0
-39
0 additions, 39 deletions
setup.py
with
47 additions
and
39 deletions
.coverage
0 → 100644
+
0
−
0
View file @
d70ca149
File added
This diff is collapsed.
Click to expand it.
pyproject.toml
+
47
−
0
View file @
d70ca149
[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"
...
...
This diff is collapsed.
Click to expand it.
setup.py
deleted
100644 → 0
+
0
−
39
View file @
d3db6235
#!/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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment