-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (34 loc) · 1023 Bytes
/
setup.py
File metadata and controls
41 lines (34 loc) · 1023 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
36
37
38
39
40
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
from setuptools.command.test import test
class Tox(test):
def initialize_options(self):
test.initialize_options(self)
self.tox_args = None
def finalize_options(self):
test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import tox
sys.exit(tox.cmdline())
setup(
name='contracts.py',
version='0.1',
description='Constracts for python inspired by cobra.',
url='https://github.com/hackaugusto/inject.py',
author='Augusto F. Hack',
author_email='hack.augusto@gmail.com',
license='MIT',
py_modules=['contracts'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
],
keywords=['contract'],
tests_require=['tox'],
cmdclass={'test': Tox},
)