Skip to content

Commit 5d7cda8

Browse files
committed
Moved the metadata into setup.cfg
1 parent fe67327 commit 5d7cda8

File tree

3 files changed

+52
-43
lines changed

3 files changed

+52
-43
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build-system]
2+
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]

setup.cfg

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
[metadata]
2+
name = deb-pkg-tools
3+
author = Peter Odding
4+
author_email = [email protected]
5+
description = Debian packaging tools
6+
long_description = file: README.rst
7+
url = https://deb-pkg-tools.readthedocs.io
8+
classifiers =
9+
Development Status :: 5 - Production/Stable
10+
Environment :: Console
11+
Intended Audience :: Developers
12+
Intended Audience :: Information Technology
13+
Intended Audience :: System Administrators
14+
License :: OSI Approved :: MIT License
15+
Operating System :: POSIX :: Linux
16+
Programming Language :: Python
17+
Programming Language :: Python :: 2
18+
Programming Language :: Python :: 2.7
19+
Programming Language :: Python :: 3
20+
Programming Language :: Python :: 3.4
21+
Programming Language :: Python :: 3.5
22+
Programming Language :: Python :: 3.6
23+
Programming Language :: Python :: 3.7
24+
Programming Language :: Python :: 3.8
25+
Programming Language :: Python :: Implementation :: CPython
26+
Programming Language :: Python :: Implementation :: PyPy
27+
Topic :: Software Development
28+
Topic :: Software Development :: Build Tools
29+
Topic :: Software Development :: Libraries :: Python Modules
30+
Topic :: System :: Archiving :: Packaging
31+
Topic :: System :: Installation/Setup
32+
Topic :: System :: Software Distribution
33+
Topic :: System :: Systems Administration
34+
Topic :: Terminals
35+
Topic :: Utilities
36+
37+
[options]
38+
packages = find:
39+
40+
[options.entry_points]
41+
console_scripts = deb-pkg-tools = deb_pkg_tools.cli:main
42+
43+
[options.extras_require]
44+
memcached = python-memcached >= 1.58
45+
146
# Enable building of universal wheels so we can publish wheel
247
# distribution archives to PyPI (the Python package index)
348
# that are compatible with Python 2 as well as Python 3.

setup.py

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -61,46 +61,5 @@ def get_absolute_path(*args):
6161

6262
setup(name='deb-pkg-tools',
6363
version=get_version('deb_pkg_tools', '__init__.py'),
64-
description="Debian packaging tools",
65-
long_description=get_contents('README.rst'),
66-
url='https://deb-pkg-tools.readthedocs.io',
67-
author="Peter Odding",
68-
author_email='[email protected]',
69-
license='MIT',
70-
packages=find_packages(),
71-
test_suite='deb_pkg_tools.tests',
72-
install_requires=get_requirements('requirements.txt'),
73-
extras_require={
74-
'memcached': ['python-memcached >= 1.58'],
75-
},
76-
entry_points=dict(console_scripts=[
77-
'deb-pkg-tools = deb_pkg_tools.cli:main',
78-
]),
79-
classifiers=[
80-
'Development Status :: 5 - Production/Stable',
81-
'Environment :: Console',
82-
'Intended Audience :: Developers',
83-
'Intended Audience :: Information Technology',
84-
'Intended Audience :: System Administrators',
85-
'License :: OSI Approved :: MIT License',
86-
'Operating System :: POSIX :: Linux',
87-
'Programming Language :: Python',
88-
'Programming Language :: Python :: 2',
89-
'Programming Language :: Python :: 2.7',
90-
'Programming Language :: Python :: 3',
91-
'Programming Language :: Python :: 3.5',
92-
'Programming Language :: Python :: 3.6',
93-
'Programming Language :: Python :: 3.7',
94-
'Programming Language :: Python :: 3.8',
95-
'Programming Language :: Python :: Implementation :: CPython',
96-
'Programming Language :: Python :: Implementation :: PyPy',
97-
'Topic :: Software Development',
98-
'Topic :: Software Development :: Build Tools',
99-
'Topic :: Software Development :: Libraries :: Python Modules',
100-
'Topic :: System :: Archiving :: Packaging',
101-
'Topic :: System :: Installation/Setup',
102-
'Topic :: System :: Software Distribution',
103-
'Topic :: System :: Systems Administration',
104-
'Topic :: Terminals',
105-
'Topic :: Utilities',
106-
])
64+
install_requires=get_requirements('requirements.txt')
65+
)

0 commit comments

Comments
 (0)