Browse Source

setup.py → pyproject.toml

tags/v1.0
JustAnotherArchivist 1 year ago
parent
commit
d5a7d39f74
2 changed files with 32 additions and 26 deletions
  1. +32
    -0
      pyproject.toml
  2. +0
    -26
      setup.py

+ 32
- 0
pyproject.toml View File

@@ -0,0 +1,32 @@
[build-system]
requires = ['setuptools>=61', 'setuptools_scm>=6.2']
build-backend = 'setuptools.build_meta'

[tool.setuptools]
packages = ['codearchiver', 'codearchiver.modules']

[tool.setuptools_scm]

[project]
name = 'codearchive'
description = 'A VCS repository archival tool'
readme = 'README.md'
authors = [{name = 'JustAnotherArchivist'}]
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
dependencies = [
'requests[socks]',
]
requires-python = '~=3.9'
dynamic = ['version']

[project.urls]
repository = "https://gitea.arpa.li/JustAnotherArchivist/codearchiver"

[project.scripts]
codearchiver = 'codearchiver.cli:main'

+ 0
- 26
setup.py View File

@@ -1,26 +0,0 @@
import setuptools


setuptools.setup(
name = 'codearchiver',
description = 'A VCS repository archival tool',
author = 'JustAnotherArchivist',
url = 'https://git.kiska.pw/JustAnotherArchivist/codearchiver',
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
packages = ['codearchiver', 'codearchiver.modules'],
python_requires = '~=3.9',
setup_requires = ['setuptools_scm'],
use_scm_version = True,
install_requires = ['requests[socks]'],
entry_points = {
'console_scripts': [
'codearchiver = codearchiver.cli:main',
],
},
)

Loading…
Cancel
Save