diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-10-28 23:25:16 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-10-28 23:25:16 -0400 |
commit | d5a3e47c7a722d40571e451c604aee411f9a58f1 (patch) | |
tree | 16fb705030fb72a670181a43e0ef01f757698a02 | |
parent | 106c755f83d701003afca33e0ba22c20c3a31c97 (diff) | |
parent | 59cceeb35bd1005a16bd9985e623b10c82527e58 (diff) | |
download | pytest-runner-d5a3e47c7a722d40571e451c604aee411f9a58f1.tar.gz |
Merge branch 'declarative' into skeleton
-rw-r--r-- | pyproject.toml | 2 | ||||
-rw-r--r-- | setup.cfg | 38 | ||||
-rw-r--r-- | setup.py | 58 |
3 files changed, 40 insertions, 58 deletions
diff --git a/pyproject.toml b/pyproject.toml index 1af54cb..65d7426 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools>=30.3", "wheel", "setuptools_scm>=1.15"] +requires = ["setuptools>=34.4", "wheel", "setuptools_scm>=1.15"] @@ -6,4 +6,42 @@ universal = 1 [metadata] license_file = LICENSE +name = skeleton +author = Jason R. Coombs +author_email = jaraco@jaraco.com +description = skeleton long_description = file:README.rst +url = https://github.com/jaraco/skeleton +classifiers = + Development Status :: 5 - Production/Stable + Intended Audience :: Developers + License :: OSI Approved :: MIT License + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + +[options] +packages = find: +include_package_data = true +python_requires = >=2.7 +install_requires = +setup_requires = setuptools_scm >= 1.15.0 + +[options.extras_require] +testing = + # upstream + pytest >= 3.5, !=3.7.3 + pytest-sugar >= 0.9.1 + collective.checkdocs + pytest-flake8 + + # local + +docs = + # upstream + sphinx + jaraco.packaging >= 3.2 + rst.linker >= 1.9 + + # local + +[options.entry_points] @@ -4,61 +4,5 @@ import setuptools -name = 'skeleton' -description = '' -nspkg_technique = 'native' -""" -Does this package use "native" namespace packages or -pkg_resources "managed" namespace packages? -""" - -params = dict( - name=name, - use_scm_version=True, - author="Jason R. Coombs", - author_email="jaraco@jaraco.com", - description=description or name, - url="https://github.com/jaraco/" + name, - packages=setuptools.find_packages(), - include_package_data=True, - namespace_packages=( - name.split('.')[:-1] if nspkg_technique == 'managed' - else [] - ), - python_requires='>=2.7', - install_requires=[ - ], - extras_require={ - 'testing': [ - # upstream - 'pytest>=3.5,!=3.7.3', - 'pytest-sugar>=0.9.1', - 'collective.checkdocs', - 'pytest-flake8', - - # local - ], - 'docs': [ - # upstream - 'sphinx', - 'jaraco.packaging>=3.2', - 'rst.linker>=1.9', - - # local - ], - }, - setup_requires=[ - 'setuptools_scm>=1.15.0', - ], - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3", - ], - entry_points={ - }, -) if __name__ == '__main__': - setuptools.setup(**params) + setuptools.setup(use_scm_version=True) |