forked from gosquadron/squadron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (58 loc) · 1.76 KB
/
Copy pathsetup.py
File metadata and controls
61 lines (58 loc) · 1.76 KB
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
54
55
56
57
58
59
60
61
from setuptools.command.test import test as TestCommand
import sys
import os
#Runs unit tests
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)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
from setuptools import setup, find_packages
import squadron
setup(
name='squadron',
version=squadron.__version__,
author='Squadron',
author_email='info@gosquadron.com',
description='Easy-to-use configuration and release management tool',
long_description=read('README.md'),
license='MIT',
url='http://www.gosquadron.com',
keywords='configuration management release deployment tool',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
],
packages=find_packages(),
include_package_data = True,
scripts=['scripts/squadron'],
tests_require=[
'pytest>=2.5.1',
'mock>=1.0.1',
'pytest-timeout>=0.3',
'webtest>=2.0.14'
],
cmdclass = {'test': PyTest},
install_requires=[
'jsonschema>=2.3.0',
'gitpython>=0.3.2.RC1',
'quik>=0.2.2',
'requests>=2.2.0',
'simplejson>=0',
'cherrypy>=3.2.5',
'bottle>=0.12.5',
'pyyaml>=3.11',
'urllib3>=1.7.1']
)