Skip to content

Commit 13a5d49

Browse files
committed
Migrate to PEP517
Dropped license classifier https://peps.python.org/pep-0639/#deprecate-license-classifiers Changed the setuptools find procedure as exclude=['tests*'] included everything in the wheel. Closes: #409 Signed-off-by: Alfred Wingate <parona@protonmail.com>
1 parent 7e58374 commit 13a5d49

2 files changed

Lines changed: 49 additions & 66 deletions

File tree

pyproject.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[build-system]
2+
requires = ['setuptools']
3+
build-backend = 'setuptools.build_meta'
4+
5+
[project]
6+
name = 'dotdrop'
7+
description = 'Save your dotfiles once, deploy them everywhere'
8+
readme = 'README.md'
9+
authors = [ {name = 'deadc0de6', email = 'deadc0de6@foo.bar'}, ]
10+
license = 'GPL-3.0'
11+
requires-python = ">=3"
12+
classifiers = [
13+
'Development Status :: 5 - Production/Stable',
14+
'Programming Language :: Python :: 3.7',
15+
'Programming Language :: Python :: 3.8',
16+
'Programming Language :: Python :: 3.9',
17+
'Programming Language :: Python :: 3.10',
18+
'Programming Language :: Python :: 3.11',
19+
]
20+
keywords = ['dotfiles', 'jinja2']
21+
dependencies = [
22+
'Jinja2',
23+
'distro',
24+
'docopt-ng',
25+
'packaging',
26+
'python-magic',
27+
'requests',
28+
'ruamel.yaml',
29+
'tomli; python_version < "3.11"',
30+
'tomli_w',
31+
]
32+
dynamic = ['version']
33+
34+
[project.urls]
35+
Documentation = 'https://dotdrop.readthedocs.io'
36+
Repository = 'https://github.com/deadc0de6/dotdrop'
37+
38+
[project.optional-dependencies]
39+
dev = ['check-manifest']
40+
test = ['coverage', 'pytest', 'pytest-cov']
41+
42+
[project.scripts]
43+
dotdrop = 'dotdrop:main'
44+
45+
[tool.setuptools.dynamic]
46+
version = {attr = 'dotdrop.version.__version__'}
47+
48+
[tool.setuptools.packages.find]
49+
include = ['dotdrop']

setup.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)