mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
@@ -3,4 +3,5 @@
|
|||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
venv/
|
venv/
|
||||||
|
.tox/
|
||||||
m3
|
m3
|
||||||
|
|||||||
@@ -20,9 +20,11 @@ sudo ./venv/bin/letsencrypt
|
|||||||
Note, that letsencrypt does not yet handle Debian unstable's Apache2
|
Note, that letsencrypt does not yet handle Debian unstable's Apache2
|
||||||
conf layout.
|
conf layout.
|
||||||
|
|
||||||
## Developing
|
## Hacking
|
||||||
|
|
||||||
`python setup.py develop --user`
|
1. Bootstrap: `./venv/bin/python setup.py dev`
|
||||||
|
|
||||||
|
2. Test code base: `./venv/bin/tox`
|
||||||
|
|
||||||
## Command line usage
|
## Command line usage
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[easy_install]
|
||||||
|
zip_ok = false
|
||||||
|
|
||||||
|
[aliases]
|
||||||
|
dev = develop easy_install letsencrypt[testing]
|
||||||
@@ -2,6 +2,22 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
|
install_requires = [
|
||||||
|
'jsonschema',
|
||||||
|
'M2Crypto',
|
||||||
|
'pycrypto',
|
||||||
|
'python-augeas',
|
||||||
|
'python2-pythondialog',
|
||||||
|
'requests',
|
||||||
|
]
|
||||||
|
|
||||||
|
testing_extras = [
|
||||||
|
'coverage',
|
||||||
|
'nose',
|
||||||
|
'pylint',
|
||||||
|
'tox>=1.6',
|
||||||
|
]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="letsencrypt",
|
name="letsencrypt",
|
||||||
version="0.1",
|
version="0.1",
|
||||||
@@ -14,18 +30,15 @@ setup(
|
|||||||
'letsencrypt.client',
|
'letsencrypt.client',
|
||||||
'letsencrypt.scripts',
|
'letsencrypt.scripts',
|
||||||
],
|
],
|
||||||
install_requires=[
|
|
||||||
'jsonschema',
|
|
||||||
'M2Crypto',
|
|
||||||
'pycrypto',
|
|
||||||
'python-augeas',
|
|
||||||
'python2-pythondialog',
|
|
||||||
'requests',
|
|
||||||
],
|
|
||||||
dependency_links=[
|
dependency_links=[
|
||||||
# http://augeas.net/download.html
|
# http://augeas.net/download.html
|
||||||
'https://fedorahosted.org/released/python-augeas/',
|
'https://fedorahosted.org/released/python-augeas/',
|
||||||
],
|
],
|
||||||
|
install_requires=install_requires,
|
||||||
|
tests_require=install_requires,
|
||||||
|
extras_require={
|
||||||
|
'testing': testing_extras,
|
||||||
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'letsencrypt = letsencrypt.scripts.main:main',
|
'letsencrypt = letsencrypt.scripts.main:main',
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Tox (http://tox.testrun.org/) is a tool for running tests
|
||||||
|
# in multiple virtualenvs. This configuration file will run the
|
||||||
|
# test suite on all supported python versions. To use it, "pip install tox"
|
||||||
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
|
[tox]
|
||||||
|
envlist = py26, py27, lint
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
# install_command requires tox>=1.6
|
||||||
|
install_command = pip install --process-dependency-links {opts} {packages}
|
||||||
|
commands = nosetests
|
||||||
|
deps =
|
||||||
|
nose
|
||||||
|
|
||||||
|
[testenv:lint]
|
||||||
|
commands = pylint letsencrypt
|
||||||
|
deps =
|
||||||
|
pylint
|
||||||
Reference in New Issue
Block a user