1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
from setuptools import setup, find_packages
def readfile(name):
with open(name) as f:
return f.read()
readme = readfile('README.rst')
changes = readfile('CHANGES.rst')
requires = [
'setuptools', # for pkg_resources
]
docs_require = [
'Sphinx',
'pylons-sphinx-themes',
]
tests_require = [
'pytest',
'pytest-cov',
]
setup(
name='plaster',
version='1.0',
description='A loader interface around multiple config file formats.',
long_description=readme + '\n\n' + changes,
author='Michael Merickel',
author_email='pylons-discuss@googlegroups.com',
url='https://docs.pylonsproject.org/projects/plaster/en/latest/',
packages=find_packages('src', exclude=['tests']),
package_dir={'': 'src'},
include_package_data=True,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
install_requires=requires,
extras_require={
'docs': docs_require,
'testing': tests_require,
},
test_suite='tests',
zip_safe=False,
keywords='plaster pastedeploy ini config',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
|