mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:41:53 +02:00
Basic dev/testing setup
This commit is contained in:
@@ -20,9 +20,14 @@ 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`
|
#. Bootstrap: `./venv/bin/python setup.py dev`
|
||||||
|
|
||||||
|
#. Test code base: `./venv/bin/nosetests`
|
||||||
|
|
||||||
|
#. Check coding style for the whole project `./venv/bin/pylint letsencrypt`,
|
||||||
|
or specific module, e.g. `./venv/bin/pylint letsencrypt.client.acme`.
|
||||||
|
|
||||||
## 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,21 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
|
install_requires = [
|
||||||
|
'jsonschema',
|
||||||
|
'M2Crypto',
|
||||||
|
'pycrypto',
|
||||||
|
'python-augeas',
|
||||||
|
'python2-pythondialog',
|
||||||
|
'requests',
|
||||||
|
]
|
||||||
|
|
||||||
|
testing_extras = [
|
||||||
|
'coverage',
|
||||||
|
'nose',
|
||||||
|
'pylint',
|
||||||
|
]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="letsencrypt",
|
name="letsencrypt",
|
||||||
version="0.1",
|
version="0.1",
|
||||||
@@ -14,18 +29,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',
|
||||||
|
|||||||
Reference in New Issue
Block a user