mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Unify quotes in setup.py scripts
This commit is contained in:
parent
9883f8965d
commit
3d638caeb7
3 changed files with 10 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
"""Let's Encrypt client."""
|
||||
|
||||
# version number like 1.2.3a0, must have at least 2 parts, like 1.2
|
||||
__version__ = "0.1.0.dev0"
|
||||
__version__ = '0.1.0.dev0'
|
||||
|
|
|
|||
|
|
@ -4,24 +4,24 @@ from setuptools import setup
|
|||
from setuptools import find_packages
|
||||
|
||||
|
||||
version = "0.1.0.dev0"
|
||||
version = '0.1.0.dev0'
|
||||
|
||||
install_requires = [
|
||||
"setuptools", # pkg_resources
|
||||
'setuptools', # pkg_resources
|
||||
]
|
||||
if sys.version_info < (2, 7):
|
||||
install_requires.append("mock<1.1.0")
|
||||
install_requires.append('mock<1.1.0')
|
||||
else:
|
||||
install_requires.append("mock")
|
||||
install_requires.append('mock')
|
||||
|
||||
setup(
|
||||
name="letshelp-letsencrypt",
|
||||
name='letshelp-letsencrypt',
|
||||
version=version,
|
||||
description="Let's help Let's Encrypt client",
|
||||
url='https://github.com/letsencrypt/letsencrypt',
|
||||
author="Let's Encrypt Project",
|
||||
author_email='client-dev@letsencrypt.org',
|
||||
license="Apache License 2.0",
|
||||
license='Apache License 2.0',
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Intended Audience :: System Administrators',
|
||||
|
|
@ -41,8 +41,8 @@ setup(
|
|||
packages=find_packages(),
|
||||
install_requires=install_requires,
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"letshelp-letsencrypt-apache = letshelp_letsencrypt.apache:main",
|
||||
'console_scripts': [
|
||||
'letshelp-letsencrypt-apache = letshelp_letsencrypt.apache:main',
|
||||
],
|
||||
},
|
||||
include_package_data=True,
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -24,7 +24,7 @@ here = os.path.abspath(os.path.dirname(__file__))
|
|||
|
||||
# read version number (and other metadata) from package init
|
||||
init_fn = os.path.join(here, 'letsencrypt', '__init__.py')
|
||||
meta = dict(re.findall(r"""__([a-z]+)__ = "([^"]+)""", read_file(init_fn)))
|
||||
meta = dict(re.findall(r"""__([a-z]+)__ = '([^']+)""", read_file(init_fn)))
|
||||
|
||||
readme = read_file(os.path.join(here, 'README.rst'))
|
||||
changes = read_file(os.path.join(here, 'CHANGES.rst'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue