forked from NixOS/nixops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (23 loc) · 765 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
import sys
import subprocess
from distutils.core import setup, Command
class TestCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
ret = subprocess.call([sys.executable, 'tests.py', 'tests/unit'])
raise SystemExit(ret)
setup(name='nixops',
version='@version@',
description='NixOS cloud deployment tool',
url='https://github.com/NixOS/nixops',
author='Eelco Dolstra',
author_email='eelco.dolstra@logicblox.com',
scripts=['scripts/nixops'],
packages=['nixops', 'nixops.resources', 'nixops.backends'],
package_data={'nixops': ['data/nixos-infect']},
cmdclass={'test': TestCommand}
)