Skip to content

Commit 710c355

Browse files
committed
Moved the metadata into setup.cfg
1 parent 595e5ba commit 710c355

File tree

2 files changed

+47
-42
lines changed

2 files changed

+47
-42
lines changed

setup.cfg

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
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 :: Implementation :: CPython
25+
Programming Language :: Python :: Implementation :: PyPy
26+
Topic :: Software Development
27+
Topic :: Software Development :: Build Tools
28+
Topic :: Software Development :: Libraries :: Python Modules
29+
Topic :: System :: Archiving :: Packaging
30+
Topic :: System :: Installation/Setup
31+
Topic :: System :: Software Distribution
32+
Topic :: System :: Systems Administration
33+
Topic :: Terminals
34+
Topic :: Utilities
35+
36+
[options]
37+
packages = find:
38+
39+
[options.entry_points]
40+
console_scripts = deb-pkg-tools = deb_pkg_tools.cli:main
41+
42+
[options.extras_require]
43+
memcached = python-memcached >= 1.58
44+
145
# Enable building of universal wheels so we can publish wheel
246
# distribution archives to PyPI (the Python package index)
347
# that are compatible with Python 2 as well as Python 3.

setup.py

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Setup script for the `deb-pkg-tools' package.
44
#
55
# Author: Peter Odding <[email protected]>
6-
# Last Change: September 12, 2019
6+
# Last Change: September 27, 2019
77
# URL: https://github.com/xolox/python-deb-pkg-tools
88

99
"""
@@ -61,45 +61,6 @@ 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-
packages=find_packages(),
70-
test_suite='deb_pkg_tools.tests',
7164
install_requires=get_requirements('requirements.txt'),
72-
extras_require={
73-
'memcached': ['python-memcached >= 1.58'],
74-
},
75-
entry_points=dict(console_scripts=[
76-
'deb-pkg-tools = deb_pkg_tools.cli:main',
77-
]),
78-
classifiers=[
79-
'Development Status :: 5 - Production/Stable',
80-
'Environment :: Console',
81-
'Intended Audience :: Developers',
82-
'Intended Audience :: Information Technology',
83-
'Intended Audience :: System Administrators',
84-
'License :: OSI Approved :: MIT License',
85-
'Operating System :: POSIX :: Linux',
86-
'Programming Language :: Python',
87-
'Programming Language :: Python :: 2',
88-
'Programming Language :: Python :: 2.7',
89-
'Programming Language :: Python :: 3',
90-
'Programming Language :: Python :: 3.4',
91-
'Programming Language :: Python :: 3.5',
92-
'Programming Language :: Python :: 3.6',
93-
'Programming Language :: Python :: 3.7',
94-
'Programming Language :: Python :: Implementation :: CPython',
95-
'Programming Language :: Python :: Implementation :: PyPy',
96-
'Topic :: Software Development',
97-
'Topic :: Software Development :: Build Tools',
98-
'Topic :: Software Development :: Libraries :: Python Modules',
99-
'Topic :: System :: Archiving :: Packaging',
100-
'Topic :: System :: Installation/Setup',
101-
'Topic :: System :: Software Distribution',
102-
'Topic :: System :: Systems Administration',
103-
'Topic :: Terminals',
104-
'Topic :: Utilities',
105-
])
65+
use_scm_version=True
66+
)

0 commit comments

Comments
 (0)