-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (33 loc) · 917 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- coding: utf8 -*-
from distutils.core import setup
from distutils.cmd import Command
import pytest
class TestCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
pytest.main()
setup(
name='nagini',
version='0.27',
author='Alexandr Litovchenko',
author_email='[email protected]',
packages=['nagini',
'nagini.builder',
'nagini.contrib'],
scripts=['nagini-build.py', 'nagini-run.py', 'nagini-data.py'],
requires=['jinja2', 'requests', 'PyYAML'],
data_files=[
('/usr/share/nagini/', ['data/job-template.job.j2']),
('/usr/share/nagini/', ['data/launcher.py.j2']),
('/etc/', ['config/nagini.yml'])
],
url='https://github.com/zedekiah/nagini',
description='',
cmdclass={
'test': TestCommand
}
)