Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
charset = utf-8
indent_style = spaces
indent_size = 4
insert_final_newline = true
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
45 changes: 45 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
[metadata]
name = deb-pkg-tools
author = Peter Odding
author_email = peter@peterodding.com
description = Debian packaging tools
long_description = file: README.rst
url = https://deb-pkg-tools.readthedocs.io
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: MIT License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development
Topic :: Software Development :: Build Tools
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Archiving :: Packaging
Topic :: System :: Installation/Setup
Topic :: System :: Software Distribution
Topic :: System :: Systems Administration
Topic :: Terminals
Topic :: Utilities

[options]
packages = find:

[options.entry_points]
console_scripts = deb-pkg-tools = deb_pkg_tools.cli:main

[options.extras_require]
memcached = python-memcached >= 1.58

# Enable building of universal wheels so we can publish wheel
# distribution archives to PyPI (the Python package index)
# that are compatible with Python 2 as well as Python 3.
Expand Down
45 changes: 2 additions & 43 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,46 +61,5 @@ def get_absolute_path(*args):

setup(name='deb-pkg-tools',
version=get_version('deb_pkg_tools', '__init__.py'),
description="Debian packaging tools",
long_description=get_contents('README.rst'),
url='https://deb-pkg-tools.readthedocs.io',
author="Peter Odding",
author_email='peter@peterodding.com',
license='MIT',
packages=find_packages(),
test_suite='deb_pkg_tools.tests',
install_requires=get_requirements('requirements.txt'),
extras_require={
'memcached': ['python-memcached >= 1.58'],
},
entry_points=dict(console_scripts=[
'deb-pkg-tools = deb_pkg_tools.cli:main',
]),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Archiving :: Packaging',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Software Distribution',
'Topic :: System :: Systems Administration',
'Topic :: Terminals',
'Topic :: Utilities',
])
install_requires=get_requirements('requirements.txt')
)