diff options
author | kballou <kballou@devnulllabs.io> | 2015-04-07 17:59:23 -0600 |
---|---|---|
committer | kballou <kballou@devnulllabs.io> | 2015-04-09 13:35:21 -0600 |
commit | a3d62066a169c26712c30061232146dd46926ff1 (patch) | |
tree | 24868c2adbb68222cc9ba66c77510b41f34f1851 /build.py | |
parent | 5deca4625a64c764937b77d677a15b6ce938f700 (diff) | |
download | pylibchorus-a3d62066a169c26712c30061232146dd46926ff1.tar.gz pylibchorus-a3d62066a169c26712c30061232146dd46926ff1.tar.xz |
Add initial skeleton code
* Includes the `ChorusSession` object that underpins all API calls
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/build.py b/build.py new file mode 100644 index 0000000..84e7617 --- /dev/null +++ b/build.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python +'''Xnt build script for project''' + +import xnt + +@xnt.target +def build(): + xnt.setup(['build']) + +@xnt.target +def clean(): + xnt.rm('pylibchorus.egg-info', + 'build', + 'dist', + '.eggs', + '**/__pycache__', + '**/tests/__pycache__', + '**/*.pyc', + '**/tests/*.pyc') + +@xnt.target +def test(): + return xnt.setup(['test']) + +@xnt.target +def lint(): + return xnt.call(['pylint', '--rcfile=pylint.conf', 'pylibchorus']) + +@xnt.target +def package(): + return xnt.setup(['bdist']) + +@xnt.target +def install(): + return xnt.setup(['install', '--user']) |