-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·35 lines (31 loc) · 849 Bytes
/
setup.py
File metadata and controls
executable file
·35 lines (31 loc) · 849 Bytes
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
#!/usr/bin/env python
from setuptools import setup
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class MambaTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import sys
import mamba.cli
sys.argv = ['mamba', '--format', 'documentation']
mamba.cli.main()
setup(
name = 'kerio-api',
version = '0.2',
packages = ['kerio'],
install_requires = [
],
tests_require = [
'mamba',
'expects',
'doublex',
'doublex_expects',
'HTTPretty',
'mock',
],
cmdclass = {'test': MambaTest},
zip_safe = False,
)