Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mrhlpr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anjan Momi
mrhlpr
Commits
dfac13ab
Unverified
Commit
dfac13ab
authored
1 year ago
by
Pablo Correa Gomez
Browse files
Options
Downloads
Patches
Plain Diff
Migrate from setup.py to pyproject.toml
parent
b09df9bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+41
-0
41 additions, 0 deletions
pyproject.toml
setup.py
+0
-56
0 additions, 56 deletions
setup.py
with
41 additions
and
56 deletions
pyproject.toml
0 → 100644
+
41
−
0
View file @
dfac13ab
[build-system]
requires
=
["setuptools>
=
61.0
.
0
"]
build-backend
=
"setuptools.build_meta"
[project]
name
=
"mrhlpr"
dynamic
=
[
"version"
]
authors
=
[
{name
=
"postmarketOS Developers"
,
email
=
"info@postmarketos.org"
}
]
description
=
"postmarketOS tools for interacting with gitlab MRs"
readme
=
"README.md"
license
=
{
text
=
"GPL-3.0-or-later"
}
requires-python
=
">
=
3.6
"
classifiers
=
[
"Development Status :: 5 - Production/Stable"
,
"Intended Audience :: Developers"
,
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
,
"Programming Language :: Python :: 3"
,
"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
=
[
"postmarketos"
,
"gitlab"
]
[project.scripts]
mrhlpr
=
"mrhlpr.frontend:main"
mrtest
=
"mrtest.frontend:main"
[project.optional-dependencies]
completion
=
[
"argcomplete"
]
[project.urls]
Homepage
=
"https://www.postmarketos.org"
[tool.setuptools.dynamic]
version
=
{
attr
=
"mrhlpr.version"
}
This diff is collapsed.
Click to expand it.
setup.py
deleted
100755 → 0
+
0
−
56
View file @
b09df9bd
#!/usr/bin/env python3
# Copyright 2022 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import
re
import
ast
from
setuptools
import
setup
,
find_packages
from
codecs
import
open
from
os
import
path
here
=
path
.
abspath
(
path
.
dirname
(
__file__
))
_version_re
=
re
.
compile
(
r
'
version\s+=\s+(.*)
'
)
with
open
(
path
.
join
(
here
,
'
mrhlpr/__init__.py
'
),
'
rb
'
)
as
f
:
version
=
str
(
ast
.
literal_eval
(
_version_re
.
search
(
f
.
read
().
decode
(
'
utf-8
'
)).
group
(
1
)))
with
open
(
path
.
join
(
here
,
'
README.md
'
),
encoding
=
'
utf-8
'
)
as
f
:
long_description
=
f
.
read
()
setup
(
name
=
'
mrhlpr
'
,
version
=
version
,
description
=
'
postmarketOS tools for interacting with gitlab MRs
'
,
long_description
=
long_description
,
long_description_content_type
=
'
text/markdown
'
,
author
=
'
postmarketOS Developers
'
,
author_email
=
'
info@postmarketos.org
'
,
url
=
'
https://www.postmarketos.org
'
,
license
=
'
GPLv3
'
,
python_requires
=
'
>=3.6
'
,
classifiers
=
[
'
Development Status :: 5 - Production/Stable
'
,
'
Intended Audience :: Developers
'
,
'
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
'
,
'
Programming Language :: Python :: 3
'
,
'
Programming Language :: Python :: 3.6
'
,
'
Programming Language :: Python :: 3.7
'
,
'
Programming Language :: Python :: 3.8
'
,
],
keywords
=
'
postmarketos gitlab
'
,
packages
=
find_packages
(),
extras_require
=
{
'
completion
'
:
[
'
argcomplete
'
],
},
entry_points
=
{
'
console_scripts
'
:
[
'
mrhlpr=mrhlpr.frontend:main
'
,
'
mrtest=mrtest.frontend:main
'
,
],
},
include_package_data
=
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