-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (24 loc) · 862 Bytes
/
setup.py
File metadata and controls
29 lines (24 loc) · 862 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
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
long_description = open('README.md').read()
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']
mamba.cli.main()
setup(name='boscli',
version='0.9.3',
author='Eduardo Ferro Aldama',
author_email='eduardo.ferro.aldama@gmail.com',
description ='Extensible command line processor for "ad hoc" shells creation',
long_description=long_description,
license='MIT',
platforms = 'Linux',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests', 'spec']),
cmdclass={'test': MambaTest}
)