From 4fb1c1e02ed81e6544b0e97713598a7c0c403855 Mon Sep 17 00:00:00 2001 From: Tim Buckley Date: Mon, 3 Aug 2015 09:58:20 -0600 Subject: [PATCH] Add .gitignore entries, HACKING.rst, and __init__.py contents from cookiecutter --- .gitignore | 56 +++++++++++++++++++++++++++++++++++++++++++- HACKING.rst | 4 ++++ stackviz/__init__.py | 19 +++++++++++++++ 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 HACKING.rst diff --git a/.gitignore b/.gitignore index 66b3bf6..41e63c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,57 @@ -*.pyc +# Project-specific ignores .idea stackviz/static/components/* +*.py[cod] + +# C extensions +*.so + +# Packages +*.egg +*.egg-info +dist +build +.eggs +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg +lib +lib64 + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox +nosetests.xml +.testrepository +.venv + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# Complexity +output/*.html +output/*/index.html + +# Sphinx +doc/build + +# pbr generates these +AUTHORS +ChangeLog + +# Editors +*~ +.*.swp +.*sw? diff --git a/HACKING.rst b/HACKING.rst new file mode 100644 index 0000000..b3ee2d8 --- /dev/null +++ b/HACKING.rst @@ -0,0 +1,4 @@ +stackviz Style Commandments +=============================================== + +Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/ diff --git a/stackviz/__init__.py b/stackviz/__init__.py index e69de29..763f154 100644 --- a/stackviz/__init__.py +++ b/stackviz/__init__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +import pbr.version + + +__version__ = pbr.version.VersionInfo( + 'stackviz').version_string()