This commit is contained in:
parent
08773d61b7
commit
8b9ff334a5
38
pyproject.toml
Normal file
38
pyproject.toml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "release-gitter"
|
||||||
|
version = "2.1.1"
|
||||||
|
description = "Easily download releases from sites like Github and Gitea"
|
||||||
|
readme = "README.md"
|
||||||
|
license = "MIT"
|
||||||
|
classifiers = [
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
]
|
||||||
|
authors = [
|
||||||
|
{ name = "Ian Fijolek", email = "iamthefij@gmail.com" }
|
||||||
|
]
|
||||||
|
maintainers = [
|
||||||
|
{ name = "Ian Fijolek", email = "iamthefij@gmail.com" }
|
||||||
|
]
|
||||||
|
requires_python = ">=3.7"
|
||||||
|
dependencies = ["requests"]
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
builder = [
|
||||||
|
"toml",
|
||||||
|
"wheel",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
release-gitter = "release_gitter:main"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Homepage = "https://git.iamthefij.com/iamthefij/release-gitter"
|
||||||
|
|
||||||
|
[tool.hatch.build]
|
||||||
|
include = ["release_gitter.py", "pseudo_builder.py"]
|
40
setup.py
40
setup.py
@ -1,40 +0,0 @@
|
|||||||
from codecs import open
|
|
||||||
from os import path
|
|
||||||
|
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
here = path.abspath(path.dirname(__file__))
|
|
||||||
|
|
||||||
# Get the long description from the README file
|
|
||||||
with open(path.join(here, "README.md"), encoding="utf-8") as f:
|
|
||||||
long_description = f.read()
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="release-gitter",
|
|
||||||
version="2.1.1",
|
|
||||||
description="Easily download releases from sites like Github and Gitea",
|
|
||||||
long_description=long_description,
|
|
||||||
long_description_content_type="text/markdown",
|
|
||||||
url="https://git.iamthefij.com/iamthefij/release-gitter.git",
|
|
||||||
download_url=(
|
|
||||||
"https://git.iamthefij.com/iamthefij/release-gitter.git/archive/master.tar.gz"
|
|
||||||
),
|
|
||||||
author="iamthefij",
|
|
||||||
author_email="",
|
|
||||||
classifiers=[
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3.7",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
],
|
|
||||||
keywords="",
|
|
||||||
py_modules=["release_gitter", "pseudo_builder"],
|
|
||||||
install_requires=["requests"],
|
|
||||||
extras_require={"builder": ["toml", "wheel"]},
|
|
||||||
entry_points={
|
|
||||||
"console_scripts": [
|
|
||||||
"release-gitter=release_gitter:main",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user