Skip to content

Commit

Permalink
Merge branch 'feature/declarative-config'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Oct 28, 2018
2 parents 20026f8 + 34adbc5 commit 7c03803
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 60 deletions.
42 changes: 42 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,46 @@ universal = 1

[metadata]
license_file = LICENSE
name = jaraco.itertools
author = Jason R. Coombs
author_email = jaraco@jaraco.com
description = jaraco.itertools
long_description = file:README.rst
url = https://github.com/jaraco/jaraco.itertools
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:
namespace_packages = jaraco
include_package_data = true
python_requires = >=2.7
install_requires =
six
more_itertools>=4.0.0
inflect
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]
61 changes: 1 addition & 60 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,64 +4,5 @@

import setuptools

name = 'jaraco.itertools'
description = ''
nspkg_technique = 'managed'
"""
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=[
'six',
'more_itertools>=4.0.0',
'inflect',
],
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)

0 comments on commit 7c03803

Please sign in to comment.