setup basic repository structure
This commit is contained in:
parent
1cf04122cc
commit
251eba295e
|
@ -1,4 +1,8 @@
|
||||||
akanda-rug
|
akanda-rug
|
||||||
==========
|
==========
|
||||||
|
|
||||||
ties the room together
|
ties the room together
|
||||||
|
|
||||||
|
The RUG is a service that manages tenant Akanda Router instances in an
|
||||||
|
Openstack environment.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
__import__('pkg_resources').declare_namespace(__name__)
|
|
@ -0,0 +1,5 @@
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
pass
|
|
@ -0,0 +1,5 @@
|
||||||
|
[nosetests]
|
||||||
|
where = test
|
||||||
|
verbosity = 2
|
||||||
|
detailed-errors = 1
|
||||||
|
cover-package = akanda
|
|
@ -0,0 +1,24 @@
|
||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='Akanda Router Update Generator',
|
||||||
|
version='0.1.0',
|
||||||
|
description='A service that manages tenant Akanda router instances',
|
||||||
|
author='DreamHost',
|
||||||
|
author_email='dev-community@dreamhost.com',
|
||||||
|
url='http://github.com/dreamhost/akanda-rug',
|
||||||
|
license='BSD',
|
||||||
|
install_requires=[
|
||||||
|
'netaddr>=0.7.7',
|
||||||
|
],
|
||||||
|
namespace_packages=['akanda'],
|
||||||
|
packages=find_packages(),
|
||||||
|
include_package_data=True,
|
||||||
|
zip_safe=False,
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': [
|
||||||
|
'akanda-rug-service=akanda.rug.agent:main'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
)
|
|
@ -0,0 +1,6 @@
|
||||||
|
tox
|
||||||
|
unittest2
|
||||||
|
nose
|
||||||
|
coverage
|
||||||
|
mock>=0.8.0
|
||||||
|
pep8
|
|
@ -0,0 +1,21 @@
|
||||||
|
[tox]
|
||||||
|
envlist = py26,py27,pep8
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
deps = -r{toxinidir}/test_requirements.txt
|
||||||
|
commands = nosetests {posargs}
|
||||||
|
sitepackages = False
|
||||||
|
|
||||||
|
[tox:jenkins]
|
||||||
|
|
||||||
|
[testenv:pep8]
|
||||||
|
deps = pep8
|
||||||
|
setuptools_git>=0.4
|
||||||
|
commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,*egg .
|
||||||
|
|
||||||
|
[testenv:cover]
|
||||||
|
setenv = NOSE_WITH_COVERAGE=1
|
||||||
|
|
||||||
|
[testenv:venv]
|
||||||
|
commands = {posargs}
|
Loading…
Reference in New Issue