setup basic repository structure

This commit is contained in:
Mark McClain 2012-09-25 22:51:27 -04:00
parent 1cf04122cc
commit 251eba295e
10 changed files with 67 additions and 1 deletions

View File

@ -1,4 +1,8 @@
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.

1
akanda/__init__.py Normal file
View File

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

0
akanda/rug/__init__.py Normal file
View File

5
akanda/rug/agent.py Normal file
View File

@ -0,0 +1,5 @@
import sys
def main():
pass

5
setup.cfg Normal file
View File

@ -0,0 +1,5 @@
[nosetests]
where = test
verbosity = 2
detailed-errors = 1
cover-package = akanda

24
setup.py Normal file
View File

@ -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
test/__init__.py Normal file
View File

0
test/unit/__init__.py Normal file
View File

6
test_requirements.txt Normal file
View File

@ -0,0 +1,6 @@
tox
unittest2
nose
coverage
mock>=0.8.0
pep8

21
tox.ini Normal file
View File

@ -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}