diff options
author | Hervé Beraud <hberaud@redhat.com> | 2019-02-20 16:43:16 +0100 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2019-02-21 21:42:13 +0100 |
commit | acc6466a0a19a5c359c2058e892f2fa2e567e55b (patch) | |
tree | 2a945267fce486161e461c9b8c66a3cab78a9a36 /setup.cfg | |
parent | 1ab7ef20d71de8289edc26ff2b79b7827b612601 (diff) | |
download | pymemcache-acc6466a0a19a5c359c2058e892f2fa2e567e55b.tar.gz |
Introduce package metadata configuration by using setup.cfg
Since setuptools 30.3.0 we can use setup.cfg to configure package
for build and distribute. These changes propose to adopt a more
modern approach to package pymemcache by using latest and stable
feature of setuptools.
Overview:
- remove python code to maintain
- introduce package metadata,
- centralize version management in package metadata
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 47 |
1 files changed, 38 insertions, 9 deletions
@@ -1,3 +1,32 @@ +[metadata] +name = pymemcache +version = attr: pymemcache.__version__ +author = Charles Gordon +author_email = charles@pinterest.com +description = "A comprehensive, fast, pure Python memcached client" +long_description = + file: README.rst, ChangeLog.rst +license = Apache License 2.0 +url = https://github.com/Pinterest/pymemcache +keywords = memcache, client, database +classifiers = + Programming Language :: Python + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3.4 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: Implementation :: PyPy + License :: OSI Approved :: Apache Software License + Topic :: Database + +[options] +setup_requires = + six +install_requires = + six +packages = find: + [bdist_wheel] universal = true @@ -7,16 +36,16 @@ omit = pymemcache/test/* [tool:pytest] norecursedirs = build docs/_build *.egg .tox *.venv addopts = - --verbose - --tb=short - --capture=no - -rfEsxX - --cov=pymemcache --cov-config=setup.cfg --cov-report=xml --cov-report=term-missing - -m unit + --verbose + --tb=short + --capture=no + -rfEsxX + --cov=pymemcache --cov-config=setup.cfg --cov-report=xml --cov-report=term-missing + -m unit markers = - unit - integration - benchmark + unit + integration + benchmark [flake8] show-source = True |