commit:     dc90a2950499d828e53885cfb09bc56838645fa7
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 19:15:03 2015 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Sat Apr 18 19:15:03 2015 +0000
URL:        
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=dc90a295

add gitignore and setup

 .gitignore |  8 ++++++++
 setup.py   | 28 ++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1658d1c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+# Backup files
+*~
+# log dir
+frontend/static/logs
+# Python compiled files
+*.pyc
+frontend/python/tinderbox/settings.py
+frontend/python/tinderbox/wsgi.py

diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..bf78af8
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,28 @@
+import os
+
+try:
+       from setuptools import setup
+except ImportError:
+       raise
+       from ez_setup import use_setuptools
+       use_setuptools()
+       from setuptools import setup
+
+version = os.path.split(os.path.abspath(__file__))[-2].split('-')[-1]
+
+packages = ['btc']
+
+package_dir = {'btc': 'btc/pym'}
+
+setup(
+       name="btc",
+       version=version,
+       author='Zorry',
+       author_email='[email protected]',
+       url='https://anongit.gentoo.org/git/proj/tinderbox-cluster.git',
+       description='Tinderbox cluster',
+       platforms=["any"],
+       license="GPL2",
+       packages=packages,
+       package_dir=package_dir,
+)
\ No newline at end of file

Reply via email to