2015-08-28 02:40:19 -04:00
|
|
|
import sys
|
|
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
from setuptools import setup
|
|
|
|
|
from setuptools import find_packages
|
|
|
|
|
|
|
|
|
|
|
2015-10-11 03:05:35 -04:00
|
|
|
version = '0.1.0.dev0'
|
2015-09-26 18:27:04 -04:00
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
install_requires = [
|
2015-09-26 18:27:04 -04:00
|
|
|
'acme=={0}'.format(version),
|
|
|
|
|
'letsencrypt=={0}'.format(version),
|
2015-07-10 12:34:08 -04:00
|
|
|
'python-augeas',
|
2015-09-24 15:28:21 -04:00
|
|
|
'setuptools', # pkg_resources
|
2015-07-10 12:34:08 -04:00
|
|
|
'zope.component',
|
|
|
|
|
'zope.interface',
|
|
|
|
|
]
|
|
|
|
|
|
2015-08-28 02:40:19 -04:00
|
|
|
if sys.version_info < (2, 7):
|
|
|
|
|
install_requires.append('mock<1.1.0')
|
|
|
|
|
else:
|
|
|
|
|
install_requires.append('mock')
|
|
|
|
|
|
2015-10-18 09:49:26 -04:00
|
|
|
docs_extras = [
|
|
|
|
|
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
|
|
|
|
'sphinx_rtd_theme',
|
|
|
|
|
]
|
|
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
setup(
|
|
|
|
|
name='letsencrypt-apache',
|
2015-09-26 18:27:04 -04:00
|
|
|
version=version,
|
2015-09-26 18:49:46 -04:00
|
|
|
description="Apache plugin for Let's Encrypt client",
|
|
|
|
|
url='https://github.com/letsencrypt/letsencrypt',
|
|
|
|
|
author="Let's Encrypt Project",
|
|
|
|
|
author_email='client-dev@letsencrypt.org',
|
2015-09-26 18:37:50 -04:00
|
|
|
license='Apache License 2.0',
|
2015-09-26 19:00:25 -04:00
|
|
|
classifiers=[
|
2015-09-26 19:02:41 -04:00
|
|
|
'Development Status :: 3 - Alpha',
|
2015-09-26 19:00:25 -04:00
|
|
|
'Environment :: Plugins',
|
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
|
'Programming Language :: Python',
|
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
|
'Topic :: Security',
|
|
|
|
|
'Topic :: System :: Installation/Setup',
|
|
|
|
|
'Topic :: System :: Networking',
|
|
|
|
|
'Topic :: System :: Systems Administration',
|
|
|
|
|
'Topic :: Utilities',
|
|
|
|
|
],
|
2015-09-26 18:49:46 -04:00
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
packages=find_packages(),
|
2015-09-27 04:10:39 -04:00
|
|
|
include_package_data=True,
|
2015-07-10 12:34:08 -04:00
|
|
|
install_requires=install_requires,
|
2015-10-18 09:49:26 -04:00
|
|
|
extras_require={
|
|
|
|
|
'docs': docs_extras,
|
|
|
|
|
},
|
2015-07-10 12:34:08 -04:00
|
|
|
entry_points={
|
|
|
|
|
'letsencrypt.plugins': [
|
|
|
|
|
'apache = letsencrypt_apache.configurator:ApacheConfigurator',
|
2015-09-06 05:20:41 -04:00
|
|
|
],
|
2015-07-10 12:34:08 -04:00
|
|
|
},
|
|
|
|
|
)
|