-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
53 lines (49 loc) · 1.67 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name = 'balanced-infra',
version = '1.0-dev',
packages = ['brix'],
author = 'Noah Kantrowitz',
author_email = '[email protected]',
description = 'Balanced infrastructure stuff.',
long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
license = 'Apache 2.0',
url = 'https://github.com/balanaced/balanced-infra',
classifiers = [
#'Development Status :: 1 - Planning',
#'Development Status :: 2 - Pre-Alpha',
#'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
#'Development Status :: 5 - Production/Stable',
#'Development Status :: 6 - Mature',
#'Development Status :: 7 - Inactive',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
zip_safe = False,
install_requires = ['stratosphere', 'boto', 'docopt'],
tests_require = ['pytest', 'pretend', 'flake8'],
cmdclass = {'test': PyTest},
entry_points = {
'console_scripts': [
'brix = brix:main',
],
}
)